aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal.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/qml/qtqmlglobal.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/qml/qtqmlglobal.h')
-rw-r--r--src/qml/qtqmlglobal.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/qml/qtqmlglobal.h b/src/qml/qtqmlglobal.h
index 387eba6231..0651355c67 100644
--- a/src/qml/qtqmlglobal.h
+++ b/src/qml/qtqmlglobal.h
@@ -47,17 +47,6 @@
# include <QtNetwork/qtnetworkglobal.h>
#endif
-QT_BEGIN_NAMESPACE
+# include <QtQml/qtqmlexports.h>
-#if !defined(QT_STATIC)
-# if defined(QT_BUILD_QML_LIB)
-# define Q_QML_EXPORT Q_DECL_EXPORT
-# else
-# define Q_QML_EXPORT Q_DECL_IMPORT
-# endif
-#else
-# define Q_QML_EXPORT
-#endif
-
-QT_END_NAMESPACE
#endif // QTQMLGLOBAL_H