aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/imageelements/animatedsprite.qml
diff options
context:
space:
mode:
authorOliver Eftevaag <oliver.eftevaag@qt.io>2021-08-31 17:54:15 +0200
committerOliver Eftevaag <oliver.eftevaag@qt.io>2021-09-29 09:47:47 +0200
commit0ee06b3dd5b686619a0d0acf58aad87703b181f1 (patch)
tree72db065bed5346e6ce51803d762d9ab7aa271e32 /examples/quick/imageelements/animatedsprite.qml
parent5bac7893599ab3f2ac28076763f091e46f32f8e7 (diff)
Fix ImageElements example to use a QML module
Removed the 'content' directory, and placed all images into a 'pics' directory. CMakeLists.txt is now also using qt_add_qml_module() Change-Id: I673b7adea1832f304003f95e171118b0822b3c83 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 34bc389543c37b8439c9c0b48f471649b6529868) Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/quick/imageelements/animatedsprite.qml')
-rw-r--r--examples/quick/imageelements/animatedsprite.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/imageelements/animatedsprite.qml b/examples/quick/imageelements/animatedsprite.qml
index e883f1f679..3a01eb427b 100644
--- a/examples/quick/imageelements/animatedsprite.qml
+++ b/examples/quick/imageelements/animatedsprite.qml
@@ -62,7 +62,7 @@ Item {
AnimatedSprite {
id: sprite
anchors.centerIn: parent
- source: "content/speaker.png"
+ source: "pics/speaker.png"
frameCount: 60
frameSync: true
frameWidth: 170