summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-10-18 13:26:16 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-18 20:05:16 +0200
commit21ce4fd240a876ffcb6ab4c2c4ccdd4ff28eef87 (patch)
treea47d1530a3c9ebe35a06788e2c0f8d4b421d06fb /mkspecs/features/qt.prf
parentc057e23b02637c1fad270a0cfe2248b50ee418f6 (diff)
make it possible to explicitly suppress the qml import scan
if the user knows that no additional imports need to be linked, this can be used to optimize the build time. as it happens, it can also be used to fix the build of the qml tools themselves ... Change-Id: Id77aea1f20cabdc2e831540c61d8a4b8e85c040b Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs/features/qt.prf')
-rw-r--r--mkspecs/features/qt.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
index a4f082e056..59147faffc 100644
--- a/mkspecs/features/qt.prf
+++ b/mkspecs/features/qt.prf
@@ -74,7 +74,8 @@ wince*:static:gui {
}
# static builds: link qml import plugins into the app.
-if(contains(QT, qml)|contains(QT_PRIVATE, qml)):contains(QT_CONFIG, static):contains(TEMPLATE, .*app):!host_build {
+if(contains(QT, qml)|contains(QT_PRIVATE, qml)): \
+ contains(QT_CONFIG, static):contains(TEMPLATE, .*app):!host_build:!no_import_scan {
# run qmlimportscanner
qtPrepareTool(QMLIMPORTSCANNER, qmlimportscanner)
exists($$QMLIMPORTSCANNER) {