From ffeda3b4a44c5a748ef9822921e157be89ba0536 Mon Sep 17 00:00:00 2001 From: EndrII <EndrIIMail@gmail.com> Date: Thu, 29 Apr 2021 21:32:08 +0300 Subject: [PATCH] addded export symbols --- qaesencryption.h | 2 +- qtsecret_global.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 qtsecret_global.h 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 <QtCore/qglobal.h> + +#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