aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-04-23 17:36:41 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-04-27 15:16:00 +0200
commitc9728926a878a0e2301ee9d2bfb0ab23862d810b (patch)
tree4124d54365035011a7b46f80b45282a33099be7f /src/qml/qtqmlglobal.h
parent93bc4113f06dce4c942374d765bef20054cd1f94 (diff)
parent8d0d1b11e381130dec12f46b959c3107c3f47160 (diff)
Merge remote-tracking branch 'origin/5.8' into 5.9
Conflicts: src/qtqmlglobal.h src/qtqmlglobal_p.h src/jsruntime/qv4global_p.h src/qml/compiler/compiler.pri src/qml/compiler/qv4ssa.cpp src/qmldevtools/qtqmldevtoolsglobal_p.h tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp Change-Id: I55c5d015b2cb1053b83b9c61caaf004fb49ee486
Diffstat (limited to 'src/qml/qtqmlglobal.h')
-rw-r--r--src/qml/qtqmlglobal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qml/qtqmlglobal.h b/src/qml/qtqmlglobal.h
index 89228b7777..6704e55b52 100644
--- a/src/qml/qtqmlglobal.h
+++ b/src/qml/qtqmlglobal.h
@@ -48,7 +48,11 @@
QT_BEGIN_NAMESPACE
-#ifndef QT_STATIC
+#if defined(QT_BUILD_QMLDEVTOOLS_LIB) || defined(QT_QMLDEVTOOLS_LIB)
+# define QT_QML_BOOTSTRAPPED
+#endif
+
+#if !defined(QT_QML_BOOTSTRAPPED) && !defined(QT_STATIC)
# if defined(QT_BUILD_QML_LIB)
# define Q_QML_EXPORT Q_DECL_EXPORT
# else