aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-10-20 11:04:25 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-10-22 06:01:13 +0000
commit613813500fb52587f9db7bb1a824241978ae948d (patch)
tree748cf84a4d03495be8ef2e2664a4d6ed3e677b48 /examples
parent124dd9adb5882048e44dcd012e08899d4e480196 (diff)
Use relative paths for images
This is easier to handle for tooling. Change-Id: Ib6b20f06426324bc5d1bd4b66f72d9b0e9a0da87 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/gallery/gallery.qml6
-rw-r--r--examples/quickcontrols2/gallery/pages/DrawerPage.qml2
-rw-r--r--examples/quickcontrols2/gallery/pages/ScrollBarPage.qml2
-rw-r--r--examples/quickcontrols2/gallery/pages/ScrollIndicatorPage.qml2
-rw-r--r--examples/quickcontrols2/gallery/pages/SwipeViewPage.qml2
-rw-r--r--examples/quickcontrols2/gallery/pages/TabBarPage.qml2
6 files changed, 8 insertions, 8 deletions
diff --git a/examples/quickcontrols2/gallery/gallery.qml b/examples/quickcontrols2/gallery/gallery.qml
index 17afc47e..5fabe77f 100644
--- a/examples/quickcontrols2/gallery/gallery.qml
+++ b/examples/quickcontrols2/gallery/gallery.qml
@@ -96,7 +96,7 @@ ApplicationWindow {
fillMode: Image.Pad
horizontalAlignment: Image.AlignHCenter
verticalAlignment: Image.AlignVCenter
- source: "qrc:/images/menu.png"
+ source: "images/menu.png"
}
onClicked: optionsMenu.open()
@@ -190,7 +190,7 @@ ApplicationWindow {
anchors.centerIn: parent
anchors.verticalCenterOffset: -50
fillMode: Image.PreserveAspectFit
- source: "qrc:/images/qt-logo.png"
+ source: "images/qt-logo.png"
}
Label {
@@ -207,7 +207,7 @@ ApplicationWindow {
Image {
id: arrow
- source: "qrc:/images/arrow.png"
+ source: "images/arrow.png"
anchors.left: parent.left
anchors.bottom: parent.bottom
}
diff --git a/examples/quickcontrols2/gallery/pages/DrawerPage.qml b/examples/quickcontrols2/gallery/pages/DrawerPage.qml
index 1764bbce..9e77223c 100644
--- a/examples/quickcontrols2/gallery/pages/DrawerPage.qml
+++ b/examples/quickcontrols2/gallery/pages/DrawerPage.qml
@@ -66,7 +66,7 @@ Pane {
}
Image {
- source: "qrc:/images/arrow.png"
+ source: "../images/arrow.png"
anchors.left: parent.left
anchors.bottom: parent.bottom
}
diff --git a/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml b/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml
index 1c026270..17be84e6 100644
--- a/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml
+++ b/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml
@@ -67,7 +67,7 @@ Flickable {
Image {
rotation: 90
- source: "qrc:/images/arrows.png"
+ source: "../images/arrows.png"
anchors.horizontalCenter: parent.horizontalCenter
}
}
diff --git a/examples/quickcontrols2/gallery/pages/ScrollIndicatorPage.qml b/examples/quickcontrols2/gallery/pages/ScrollIndicatorPage.qml
index db48ca3b..f7c23a06 100644
--- a/examples/quickcontrols2/gallery/pages/ScrollIndicatorPage.qml
+++ b/examples/quickcontrols2/gallery/pages/ScrollIndicatorPage.qml
@@ -67,7 +67,7 @@ Flickable {
Image {
rotation: 90
- source: "qrc:/images/arrows.png"
+ source: "../images/arrows.png"
anchors.horizontalCenter: parent.horizontalCenter
}
}
diff --git a/examples/quickcontrols2/gallery/pages/SwipeViewPage.qml b/examples/quickcontrols2/gallery/pages/SwipeViewPage.qml
index cfa32b41..dedacac4 100644
--- a/examples/quickcontrols2/gallery/pages/SwipeViewPage.qml
+++ b/examples/quickcontrols2/gallery/pages/SwipeViewPage.qml
@@ -69,7 +69,7 @@ Pane {
}
Image {
- source: "qrc:/images/arrows.png"
+ source: "../images/arrows.png"
anchors.horizontalCenter: parent.horizontalCenter
}
}
diff --git a/examples/quickcontrols2/gallery/pages/TabBarPage.qml b/examples/quickcontrols2/gallery/pages/TabBarPage.qml
index 78dfc6e9..818cccef 100644
--- a/examples/quickcontrols2/gallery/pages/TabBarPage.qml
+++ b/examples/quickcontrols2/gallery/pages/TabBarPage.qml
@@ -69,7 +69,7 @@ Page {
}
Image {
- source: "qrc:/images/arrows.png"
+ source: "../images/arrows.png"
anchors.horizontalCenter: parent.horizontalCenter
}
}