Disable qmlscene and qmlplugindump when doing static builds
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 2 Jun 2014 08:16:07 +0000 (10:16 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 2 Jun 2014 13:36:11 +0000 (15:36 +0200)
Both of these tools rely on the ability to load plugins in order to function.
QmlScene in particular can theoretically be used with just "QtQml" imports
and QObjects, but that's not very useful for the _scene_ type of applications
qmlscene is intended for ;-). And in a static build it can't load QtQuick.

Task-number: QTBUG-39003
Change-Id: I0d4328dc4eb5c4e3153668e65a12f8eb3757f660
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
tools/tools.pro

index a1b48789b8efcb9637c073d4c33b95554c866617..fffa4df5c0a95106bfa27abc4b03b6544006a401 100644 (file)
@@ -12,7 +12,7 @@ qmlimportscanner.CONFIG = host_build
         qmlprofiler \
         qmlbundle
     qtHaveModule(quick) {
-        SUBDIRS += qmlscene qmlplugindump
+        !static: SUBDIRS += qmlscene qmlplugindump
         qtHaveModule(widgets): SUBDIRS += qmleasing
     }
     qtHaveModule(qmltest): SUBDIRS += qmltestrunner