aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-08-01 16:38:56 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-08-03 08:46:16 +0000
commit5b620ed68909c63f3a5a892577a07f66d35c2923 (patch)
treed42f80a4033b8b49fae775f05585d8707ef3e447 /src/qml/debugger
parent1c20a3b8b652a6179438da5c2b3a72183279cdfa (diff)
Add QT_NO_QML_DEBUGGER to MODULE_DEFINES on -no-qml-debug
If -no-qml-debug is set when building QtQml, we have to add QT_NO_QML_DEBUGGER when building application code, because this build option modifies the headers and linking an application built with QML debugging against a Qt built without is crashy. Change-Id: Ib150810f40deb98dcf398e3998401358a25155d9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger')
-rw-r--r--src/qml/debugger/debugger.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/debugger/debugger.pri b/src/qml/debugger/debugger.pri
index 74dcb250a8..da1ab867d4 100644
--- a/src/qml/debugger/debugger.pri
+++ b/src/qml/debugger/debugger.pri
@@ -1,5 +1,6 @@
contains(QT_CONFIG, no-qml-debug) {
DEFINES += QT_NO_QML_DEBUGGER
+ MODULE_DEFINES += QT_NO_QML_DEBUGGER
} else {
HEADERS += \
$$PWD/qqmldebugpluginmanager_p.h \