summaryrefslogtreecommitdiff
path: root/src/dialogs/dialogs.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/dialogs.pro')
-rw-r--r--src/dialogs/dialogs.pro28
1 files changed, 1 insertions, 27 deletions
diff --git a/src/dialogs/dialogs.pro b/src/dialogs/dialogs.pro
index e5cc7d79..69b64e00 100644
--- a/src/dialogs/dialogs.pro
+++ b/src/dialogs/dialogs.pro
@@ -84,32 +84,6 @@ ios|android|blackberry|winrt {
QT += quick-private gui gui-private core core-private qml qml-private
-!qmlcache {
- # Create the resource file
- GENERATED_RESOURCE_FILE = $$OUT_PWD/dialogs.qrc
-
- RESOURCE_CONTENT = \
- "<RCC>" \
- "<qresource prefix=\"/QtQuick/Dialogs\">"
-
- for(resourcefile, DIALOGS_QML_FILES) {
- resourcefileabsolutepath = $$absolute_path($$resourcefile)
- relativepath_in = $$relative_path($$resourcefileabsolutepath, $$_PRO_FILE_PWD_)
- relativepath_out = $$relative_path($$resourcefileabsolutepath, $$OUT_PWD)
- RESOURCE_CONTENT += "<file alias=\"$$relativepath_in\">$$relativepath_out</file>"
- }
-
- RESOURCE_CONTENT += \
- "</qresource>" \
- "</RCC>"
-
- write_file($$GENERATED_RESOURCE_FILE, RESOURCE_CONTENT)|error("Aborting.")
-
- RESOURCES += $$GENERATED_RESOURCE_FILE
- # In case of a debug build, deploy the QML files too
- !qtquickcompiler:CONFIG(debug, debug|release): QML_FILES += $$DIALOGS_QML_FILES
-} else {
- QML_FILES += $$DIALOGS_QML_FILES
-}
+QML_FILES += $$DIALOGS_QML_FILES
load(qml_plugin)