aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal_p.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-05-18 16:59:02 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2017-05-19 04:17:42 +0000
commit1e8f85dbc90da6b49fa7018ccbc35db68281d395 (patch)
tree900bdc0143684427ff3b98b54a91dbb43a4e5ded /src/qml/qtqmlglobal_p.h
parentee6b07b3ce8ba80632868181d45d96253acb1064 (diff)
don't try to pull in the regular config headers when bootstrapping
Task-number: QTBUG-60675 Change-Id: I7ae9ab4f442d34f6eaa770652029b5dfccef346a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qtqmlglobal_p.h')
-rw-r--r--src/qml/qtqmlglobal_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/qtqmlglobal_p.h b/src/qml/qtqmlglobal_p.h
index e9834ffc4c..0313d8e33b 100644
--- a/src/qml/qtqmlglobal_p.h
+++ b/src/qml/qtqmlglobal_p.h
@@ -52,8 +52,10 @@
//
#include <QtCore/private/qglobal_p.h>
-#include <QtQml/private/qtqml-config_p.h>
#include <QtQml/qtqmlglobal.h>
+#ifndef QT_QML_BOOTSTRAPPED
+# include <QtQml/private/qtqml-config_p.h>
+#endif
#define Q_QML_PRIVATE_EXPORT Q_QML_EXPORT