diff --git a/qaesencryption.h b/qaesencryption.h index e19f862..935c615 100644 --- a/qaesencryption.h +++ b/qaesencryption.h @@ -10,7 +10,7 @@ #endif #endif -class Q_DECL_EXPORT QAESEncryption : public QObject +class Qt_SECRETSHARED_EXPORT QAESEncryption : public QObject { Q_OBJECT public: diff --git a/qtsecret_global.h b/qtsecret_global.h new file mode 100644 index 0000000..1893b41 --- /dev/null +++ b/qtsecret_global.h @@ -0,0 +1,12 @@ +#ifndef QTSECRET_GLOBAL_H +#define QTSECRET_GLOBAL_H + +#include + +#if defined(Qt_SECRET_LIBRARY) +# define Qt_SECRETSHARED_EXPORT Q_DECL_EXPORT +#else +# define Qt_SECRETSHARED_EXPORT Q_DECL_IMPORT +#endif + +#endif // QTSECRET_GLOBAL_H