qtjsonserializer_global.h 789 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef QTJSONSERIALIZER_GLOBAL_H
  2. #define QTJSONSERIALIZER_GLOBAL_H
  3. #include <QtCore/qglobal.h>
  4. // #ifndef QT_STATIC
  5. // # if defined(QT_BUILD_JSONSERIALIZER_LIB)
  6. // # define Q_JSONSERIALIZER_EXPORT Q_DECL_EXPORT
  7. // # else
  8. // # define Q_JSONSERIALIZER_EXPORT Q_DECL_IMPORT
  9. // # endif
  10. // #else
  11. // # define Q_JSONSERIALIZER_EXPORT
  12. // #endif
  13. #define Q_JSONSERIALIZER_EXPORT
  14. namespace QtJsonSerializer {
  15. //! Method to register all type converters for basic Qt types
  16. Q_JSONSERIALIZER_EXPORT void registerTypes();
  17. #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
  18. #define QMetaTypeName(X) QMetaType::typeName(X)
  19. #else
  20. #define QMetaTypeName(X) QMetaType(X).name()
  21. #endif
  22. }
  23. //! @file qtjsonserializer_global.h The QtJsonSerializer library header file
  24. #endif // QTJSONSERIALIZER_GLOBAL_H