summaryrefslogtreecommitdiff
path: root/examples/quick
diff options
context:
space:
mode:
authorOliver Eftevaag <oliver.eftevaag@qt.io>2023-01-10 13:48:38 +0100
committerOliver Eftevaag <oliver.eftevaag@qt.io>2023-01-11 13:44:35 +0100
commit267da2e7a9b24e56c1ff818bc1bd9b945792b21a (patch)
tree3daa6c3edc97016b020403f4df602a456a333e12 /examples/quick
parent34331019c281388d91dfc4aa38e76f16d397a17f (diff)
downloadqtdeclarative-267da2e7a9b24e56c1ff818bc1bd9b945792b21a.tar.gz
Make quick examples that rely on the shared files build with qmake again
In d270c51f812b5f0ffe6208b38c8ea0e898535e50 the DECLARATIVE_EXAMPLE_MAIN macro was modified to prepend the "qrc:/qt/qml" prefix to file paths that should be loaded by the engine. But the patch forgot to update the shared.qrc prefix, which means that the examples that relied on the shared module, would no longer build out-of-the-box with qmake. This patch solve the issue, so that the examples work with qmake once again. Pick-to: 6.5 Change-Id: I677c1e61423cf98c6a1030ce591707888456ef19 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/shared/shared.qrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/shared/shared.qrc b/examples/quick/shared/shared.qrc
index c19063a585..67f69c9c8d 100644
--- a/examples/quick/shared/shared.qrc
+++ b/examples/quick/shared/shared.qrc
@@ -1,5 +1,5 @@
<RCC>
- <qresource prefix="/shared">
+ <qresource prefix="/qt/qml/shared">
<file>Button.qml</file>
<file>CheckBox.qml</file>
<file>FlickrRssModel.qml</file>