summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-19 12:15:32 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-19 12:15:32 +0100
commit205f7f3510b4abf04c4020416c985e657e29c908 (patch)
tree4360def54ebeb64df681f1eb61e85f76441a53bb
parentb1b67ab525555a082ca257ad08fc4fba9b1f74e3 (diff)
Import Qt6 conversion patchHEADmaster
Import the patches for the demo applications into the app repos. Bug-AGL: SPEC-5294 Change-Id: I954e1b3aab07d9f641878c4a598a3904005e1077 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--app/Dashboard.qml8
-rw-r--r--app/TirePressure.qml4
2 files changed, 6 insertions, 6 deletions
diff --git a/app/Dashboard.qml b/app/Dashboard.qml
index 3c1a73b..3db1e6f 100644
--- a/app/Dashboard.qml
+++ b/app/Dashboard.qml
@@ -118,7 +118,7 @@ ApplicationWindow {
Image {
id: car
anchors.centerIn: parent
- source: './images/HMI_Dashboard_Car.png'
+ source: 'qrc:/images/HMI_Dashboard_Car.png'
}
TirePressure {
@@ -167,7 +167,7 @@ ApplicationWindow {
Image {
id: speedIcon
- source: './images/HMI_Dashboard_Speed_Icon.svg'
+ source: 'qrc:/images/HMI_Dashboard_Speed_Icon.svg'
}
ProgressBar {
id: tachometer
@@ -187,7 +187,7 @@ ApplicationWindow {
}
Image {
id: fuelIcon
- source: './images/HMI_Dashboard_Fuel_Icon.svg'
+ source: 'qrc:/images/HMI_Dashboard_Fuel_Icon.svg'
}
ProgressBar {
Layout.fillWidth: true
@@ -196,7 +196,7 @@ ApplicationWindow {
anchors.left: parent.left
anchors.leftMargin: -40
anchors.bottom: parent.top
- source: './images/HMI_Dashboard_Fuel_Details.svg'
+ source: 'qrc:/images/HMI_Dashboard_Fuel_Details.svg'
GridLayout {
anchors.fill: parent
columns: 2
diff --git a/app/TirePressure.qml b/app/TirePressure.qml
index 437cf2f..eb02482 100644
--- a/app/TirePressure.qml
+++ b/app/TirePressure.qml
@@ -31,7 +31,7 @@ Image {
when: !mirror
PropertyChanges {
target: root
- source: './images/HMI_Dashboard_LeftTire.svg'
+ source: 'qrc:/images/HMI_Dashboard_LeftTire.svg'
}
AnchorChanges {
target: title
@@ -47,7 +47,7 @@ Image {
when: mirror
PropertyChanges {
target: root
- source: './images/HMI_Dashboard_RightTire.svg'
+ source: 'qrc:/images/HMI_Dashboard_RightTire.svg'
}
AnchorChanges {
target: title