aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/particles/system
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-05-31 15:00:45 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-06-24 08:45:43 +0200
commitd270c51f812b5f0ffe6208b38c8ea0e898535e50 (patch)
treef9f5e95f7cc0351925c2ed3f1dded34728787f62 /examples/quick/particles/system
parent12b0581a79f5fb866050628009878877af789e46 (diff)
Adapt examples to AUTO_RESOURCE_PREFIX
Examples that don't explicitly set NO_RESOURCE_TARGET_PATH get the AUTO_RESOURCE_PREFIX now. Task-number: QTBUG-103452 Change-Id: I6b41e96ce5620079f60ca2f967b0a2e611c1f738 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'examples/quick/particles/system')
-rw-r--r--examples/quick/particles/system/CMakeLists.txt1
-rw-r--r--examples/quick/particles/system/system.qrc2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/quick/particles/system/CMakeLists.txt b/examples/quick/particles/system/CMakeLists.txt
index f6c975a128..b5c96a605e 100644
--- a/examples/quick/particles/system/CMakeLists.txt
+++ b/examples/quick/particles/system/CMakeLists.txt
@@ -30,6 +30,7 @@ add_dependencies(systemexample system_shared)
qt_add_qml_module(systemexample
URI system
VERSION 1.0
+ AUTO_RESOURCE_PREFIX
QML_FILES
"dynamiccomparison.qml"
"dynamicemitters.qml"
diff --git a/examples/quick/particles/system/system.qrc b/examples/quick/particles/system/system.qrc
index e86bc19e68..806f11e818 100644
--- a/examples/quick/particles/system/system.qrc
+++ b/examples/quick/particles/system/system.qrc
@@ -1,5 +1,5 @@
<RCC>
- <qresource prefix="/system">
+ <qresource prefix="/qt/qml/system">
<file>system.qml</file>
<file>dynamiccomparison.qml</file>
<file>dynamicemitters.qml</file>