1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#include <QtGlobal>
#ifndef EXPORT_RULES_H
#define EXPORT_RULES_H
#if defined(QDLT_LIBRARY)
# define QDLT_EXPORT Q_DECL_EXPORT
# ifdef Q_OS_WIN
# define QDLT_C_EXPORT __declspec(dllexport)
# else
# define QDLT_C_EXPORT __attribute__((visibility("default")))
# endif
#else
# define QDLT_EXPORT Q_DECL_IMPORT
# ifdef Q_OS_WIN
# define QDLT_C_EXPORT __declspec(dllimport)
# else
# define QDLT_C_EXPORT
# endif
#endif
#define USECOLOR yes // use QColor class in qdlt, without the automarking of messages does not work
#endif // EXPORT_RULES_H
|