summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dynamic/dynamic.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/dynamic/dynamic.qml')
-rw-r--r--examples/declarative/dynamic/dynamic.qml11
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/declarative/dynamic/dynamic.qml b/examples/declarative/dynamic/dynamic.qml
index 9bfab0e..0166b4c 100644
--- a/examples/declarative/dynamic/dynamic.qml
+++ b/examples/declarative/dynamic/dynamic.qml
@@ -1,4 +1,5 @@
import Qt 4.6
+import "qml"
Item {
id: window
@@ -71,26 +72,26 @@ Item {
PaletteItem{
anchors.verticalCenter: parent.verticalCenter
file: "Sun.qml";
- image: "images/sun.png"
+ image: "../images/sun.png"
}
PaletteItem{
file: "GenericItem.qml"
- image: "images/moon.png"
+ image: "../images/moon.png"
}
PaletteItem{
anchors.verticalCenter: parent.verticalCenter
file: "PerspectiveItem.qml"
- image: "images/tree_s.png"
+ image: "../images/tree_s.png"
}
PaletteItem{
anchors.verticalCenter: parent.verticalCenter
file: "PerspectiveItem.qml"
- image: "images/rabbit_brown.png"
+ image: "../images/rabbit_brown.png"
}
PaletteItem{
anchors.verticalCenter: parent.verticalCenter
file: "PerspectiveItem.qml"
- image: "images/rabbit_bw.png"
+ image: "../images/rabbit_bw.png"
}
}
Text{ text: "Active Suns: " + activeSuns }