aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tools.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-01-22 14:35:56 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-01-22 14:28:48 +0000
commit90ba088773f669b9c87a000ff781b7033679679f (patch)
tree4ddc8f06b4b7724e66e14dcb37c08faf6565a789 /tools/tools.pro
parentce093497f2d4164fa8abc06cf976f9e36798e11e (diff)
Don't build qmldebug or qmlprofiler on -no-qml-debug
qmlprofiler depends on qmldebug and won't work with that version of Qt anyway. Change-Id: I86a180671b8d7c84e9ab05ff1cef4e6a5ea4f7f3 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tools/tools.pro')
-rw-r--r--tools/tools.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/tools.pro b/tools/tools.pro
index b2e9e27066..6e25509216 100644
--- a/tools/tools.pro
+++ b/tools/tools.pro
@@ -9,8 +9,10 @@ qmlimportscanner.CONFIG = host_build
!android|android_app {
SUBDIRS += \
qml \
- qmlprofiler \
qmllint
+
+ !contains(QT_CONFIG, no-qml-debug): SUBDIRS += qmlprofiler
+
qtHaveModule(quick) {
!static: SUBDIRS += qmlscene qmlplugindump
qtHaveModule(widgets): SUBDIRS += qmleasing