aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tools.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools.pro')
-rw-r--r--tools/tools.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/tools.pro b/tools/tools.pro
index 2dab801be7..994a8c7114 100644
--- a/tools/tools.pro
+++ b/tools/tools.pro
@@ -9,7 +9,6 @@ SUBDIRS += \
qmlbundle \
v4
qtHaveModule(quick):qtHaveModule(widgets): SUBDIRS += qmleasing
-qtHaveModule(quick): SUBDIRS += qmlimportscanner
# qmlmin & qmlbundle are build tools.
# qmlscene is needed by the autotests.
@@ -21,3 +20,8 @@ qtNomakeTools( \
qmlplugindump \
qmleasing \
)
+
+qtHaveModule(quick) {
+ for(subdir, SUBDIRS): $${subdir}.depends += qmlimportscanner
+ SUBDIRS += qmlimportscanner
+}