summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/pbr-materials/TrefoilKnot.qml
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2021-04-23 09:46:41 +0200
committerPaul Lemire <paul.lemire@kdab.com>2021-04-23 11:00:42 +0200
commit3dbfb4f73f0ade4d9bee5a243aa94c412b0ed73d (patch)
tree6ca3dfece1897a3e996b2195b33481c0627ccc47 /examples/qt3d/pbr-materials/TrefoilKnot.qml
parent507b7a5856bb30ec5ba76165a6e3b3da85c91d73 (diff)
pbr-material example: add qrc:/ prefix resource for assets
So that assets are properly picked up by Qt 6 Change-Id: I78eb79f0c4f5a2e124d57692d4af2947e743bd33 Pick-to: 6.1 6.0 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples/qt3d/pbr-materials/TrefoilKnot.qml')
-rw-r--r--examples/qt3d/pbr-materials/TrefoilKnot.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/pbr-materials/TrefoilKnot.qml b/examples/qt3d/pbr-materials/TrefoilKnot.qml
index 1a7b4031b..7867ebcbe 100644
--- a/examples/qt3d/pbr-materials/TrefoilKnot.qml
+++ b/examples/qt3d/pbr-materials/TrefoilKnot.qml
@@ -81,6 +81,6 @@ Entity {
Mesh {
id: mesh
- source: "assets/obj/trefoil.obj"
+ source: "qrc:/assets/obj/trefoil.obj"
}
}