summaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-03-07 12:00:08 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-04-11 11:12:09 +0000
commit751f08cf46f505980b8ebe9a228a6c229b470152 (patch)
tree83e52996c3969ad34dd7d9552757c2e022484444 /src/dialogs
parentda9183da38513d5531af3753d14d040991e04132 (diff)
downloadqtquickcontrols-751f08cf46f505980b8ebe9a228a6c229b470152.tar.gz
Enable the use of QML caching at build timev5.9.0-beta2
Task-number: QTBUG-58571 Change-Id: I11c9dfb4e0fad93b2961db4213f934eca7d214df Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/dialogs.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dialogs/dialogs.pro b/src/dialogs/dialogs.pro
index f19283f2..e5cc7d79 100644
--- a/src/dialogs/dialogs.pro
+++ b/src/dialogs/dialogs.pro
@@ -7,7 +7,11 @@ IMPORT_VERSION = 1.2
QMAKE_DOCS = $$PWD/doc/qtquickdialogs.qdocconf
-qtquickcompiler: DEFINES += ALWAYS_LOAD_FROM_RESOURCES
+qtquickcompiler {
+ DEFINES += ALWAYS_LOAD_FROM_RESOURCES
+} else {
+ !static: CONFIG += qmlcache
+}
SOURCES += \
qquickabstractmessagedialog.cpp \
@@ -80,7 +84,7 @@ ios|android|blackberry|winrt {
QT += quick-private gui gui-private core core-private qml qml-private
-!static {
+!qmlcache {
# Create the resource file
GENERATED_RESOURCE_FILE = $$OUT_PWD/dialogs.qrc