From 1f7f70ca9d9ceafe32ee3c4cafe7a2224edc2d02 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sat, 20 May 2017 09:27:26 +0200 Subject: 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 Reviewed-by: Simon Hausmann --- src/imports/controls/universal/universal.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/imports/controls/universal/universal.pro') 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) -- cgit v1.2.3