diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-08-01 16:38:56 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-08-03 08:46:16 +0000 |
commit | 5b620ed68909c63f3a5a892577a07f66d35c2923 (patch) | |
tree | d42f80a4033b8b49fae775f05585d8707ef3e447 /src/quickwidgets | |
parent | 1c20a3b8b652a6179438da5c2b3a72183279cdfa (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/quickwidgets')
-rw-r--r-- | src/quickwidgets/quickwidgets.pro | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quickwidgets/quickwidgets.pro b/src/quickwidgets/quickwidgets.pro index 0e45e63307..87409e31c5 100644 --- a/src/quickwidgets/quickwidgets.pro +++ b/src/quickwidgets/quickwidgets.pro @@ -3,7 +3,6 @@ TARGET = QtQuickWidgets QT = core-private gui-private qml-private quick-private widgets-private DEFINES += QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES -contains(QT_CONFIG, no-qml-debug): DEFINES += QT_NO_QML_DEBUGGER HEADERS += \ qquickwidget.h \ |