aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/universal/universal.pro
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-05-20 09:27:26 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-05-20 11:09:01 +0000
commit1f7f70ca9d9ceafe32ee3c4cafe7a2224edc2d02 (patch)
tree8c594e926c94a9078b19c8d72f43b42e0ab66ce4 /src/imports/controls/universal/universal.pro
parentedded3b5179de4e387f8bb173311bf39df9c43d7 (diff)
Enable build time QML caching for the Material & Universal styles
We had troubles enabling Qt Quick Compiler support for these styles, because we wouldn't be able to select style-specific .qml files from the resources of an unloaded/uninstantiated plugin. Build-time QML caching doesn't seem to be a problem because the .qmlc files are not built into resources but are available on the file system. Task-number: QTBUG-58571 Change-Id: I93e7a82a72c4bcf3a92c7ca12186f24a22d4d342 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/imports/controls/universal/universal.pro')
-rw-r--r--src/imports/controls/universal/universal.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/universal/universal.pro b/src/imports/controls/universal/universal.pro
index f2515205..e1b61c04 100644
--- a/src/imports/controls/universal/universal.pro
+++ b/src/imports/controls/universal/universal.pro
@@ -19,6 +19,7 @@ SOURCES += \
RESOURCES += \
$$PWD/qtquickcontrols2universalstyleplugin.qrc
+!static: CONFIG += qmlcache
CONFIG += no_cxx_module
load(qml_plugin)