aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qtqmlworkerscriptglobal.h
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-06-29 15:27:51 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2021-11-02 16:32:25 +0100
commit250d6269e9f60021d88a574d04941ab342afb632 (patch)
treeb2630f309c5e94384b739e15d8c6a69e2e137101 /src/qmlworkerscript/qtqmlworkerscriptglobal.h
parent6b4d3613326b38bc05c813c449b31affd9c3795a (diff)
Migrate to autogenerated cpp exports
Replace the hardcoded cpp exports with a generated one where it's applicable. Task-number: QTBUG-90492 Change-Id: I4af021bf828e05c8d6f3f975befd3b6b2cf63462 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qtqmlworkerscriptglobal.h')
-rw-r--r--src/qmlworkerscript/qtqmlworkerscriptglobal.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/qmlworkerscript/qtqmlworkerscriptglobal.h b/src/qmlworkerscript/qtqmlworkerscriptglobal.h
index be3ea4e12a..87ee6b32a5 100644
--- a/src/qmlworkerscript/qtqmlworkerscriptglobal.h
+++ b/src/qmlworkerscript/qtqmlworkerscriptglobal.h
@@ -41,18 +41,6 @@
#define QTQMLWORKERSCRIPTGLOBAL_H
#include <QtQml/qtqmlglobal.h>
+#include <QtQmlWorkerScript/qtqmlworkerscriptexports.h>
-QT_BEGIN_NAMESPACE
-
-#if !defined(QT_STATIC)
-# if defined(QT_BUILD_QMLWORKERSCRIPT_LIB)
-# define Q_QMLWORKERSCRIPT_EXPORT Q_DECL_EXPORT
-# else
-# define Q_QMLWORKERSCRIPT_EXPORT Q_DECL_IMPORT
-# endif
-#else
-# define Q_QMLWORKERSCRIPT_EXPORT
-#endif
-
-QT_END_NAMESPACE
#endif // QTQMLWORKERSCRIPTGLOBAL_H