diff options
Diffstat (limited to 'src/dialogs/dialogs.pro')
-rw-r--r-- | src/dialogs/dialogs.pro | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/dialogs/dialogs.pro b/src/dialogs/dialogs.pro index 69b64e00..ca5f408e 100644 --- a/src/dialogs/dialogs.pro +++ b/src/dialogs/dialogs.pro @@ -7,12 +7,6 @@ IMPORT_VERSION = 1.2 QMAKE_DOCS = $$PWD/doc/qtquickdialogs.qdocconf -qtquickcompiler { - DEFINES += ALWAYS_LOAD_FROM_RESOURCES -} else { - !static: CONFIG += qmlcache -} - SOURCES += \ qquickabstractmessagedialog.cpp \ qquickplatformmessagedialog.cpp \ @@ -86,4 +80,13 @@ QT += quick-private gui gui-private core core-private qml qml-private QML_FILES += $$DIALOGS_QML_FILES +qtquickcompiler { + DEFINES += ALWAYS_LOAD_FROM_RESOURCES + dialogs.files = $$QML_FILES + dialogs.prefix = /QtQuick/Dialogs + RESOURCES += dialogs +} else { + !static: CONFIG += qmlcache +} + load(qml_plugin) |