From 21ce4fd240a876ffcb6ab4c2c4ccdd4ff28eef87 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 18 Oct 2013 13:26:16 +0200 Subject: [PATCH] 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 --- mkspecs/features/qt.prf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {