aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2024-11-13 15:23:29 +0100
committerUlf Hermann <[email protected]>2024-11-14 10:48:06 +0100
commitf56a0c8294cf3bb33cbe6f26cd4f711815081f7e (patch)
tree8e97d9555eec1e2940fad3dcf887b90ab5734ab8
parent9d9413f3d3983b1d24fd878da14eed153e83cbaa (diff)
qmlcachegen: Fix resource import paths
Amends commit 2cf9aeccddbd06a66df94bd27916714c4a5c7e24. Pick-to: 6.8 Change-Id: Ic280eb3caa67c17c87cd5419fad0f6b8801a46a9 Reviewed-by: Sami Shalayel <[email protected]>
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index 97c05cb208..087b2b4e36 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -266,8 +266,8 @@ int main(int argc, char **argv)
QStringList importPaths;
if (parser.isSet(resourceOption)) {
- importPaths.append("qt-project.org/imports"_L1);
- importPaths.append("qt/qml"_L1);
+ importPaths.append(":/qt-project.org/imports"_L1);
+ importPaths.append(":/qt/qml"_L1);
};
if (parser.isSet(importPathOption))