aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-02 17:38:20 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-07-18 20:45:03 +0000
commit88245e89d361e73be28f5d626a7af7609a465581 (patch)
tree2ee3a9a669717156c213b7ba1f0fbe80b2e54b3e /src
parent73b77bc51213525bc47d2d73e516207614b950f0 (diff)
With -no-qml-debug, don't compile debug plugins and tests
This eliminates many #ifdefs and prevents the compilartion of broken plugins. Change-Id: Ib2763ed9e6580307482b885d71c1ad1010959ef2 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugins.pro2
-rw-r--r--src/qml/debugger/debugger.pri2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro
index 664a457608..273407c19d 100644
--- a/src/plugins/plugins.pro
+++ b/src/plugins/plugins.pro
@@ -1,2 +1,2 @@
TEMPLATE = subdirs
-SUBDIRS += qmltooling
+!contains(QT_CONFIG, no-qml-debug):SUBDIRS += qmltooling
diff --git a/src/qml/debugger/debugger.pri b/src/qml/debugger/debugger.pri
index 77a3ba6490..4021350878 100644
--- a/src/qml/debugger/debugger.pri
+++ b/src/qml/debugger/debugger.pri
@@ -1,3 +1,5 @@
+contains(QT_CONFIG, no-qml-debug):DEFINES += QT_NO_QML_DEBUGGER
+
SOURCES += \
$$PWD/qqmldebugservice.cpp \
$$PWD/qqmlprofilerservice.cpp \