aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch
blob: 93f55fd85b0c627c5709a54c5f895cbdf958bea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 7e6fb6b5b69979db15b630213ec60e1cf5be7dcf Mon Sep 17 00:00:00 2001
From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
Date: Wed, 24 Jul 2024 09:21:02 +0900
Subject: [PATCH] Migrate to Qt 6

---
 launcher/qml/Launcher.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml
index 3aef4e6..8d67f60 100644
--- a/launcher/qml/Launcher.qml
+++ b/launcher/qml/Launcher.qml
@@ -19,7 +19,7 @@ import QtQuick 2.13
 import QtQuick.Layouts 1.1
 import QtQuick.Controls 2.0
 import QtQuick.Window 2.13
-import QtGraphicalEffects 1.0
+import Qt5Compat.GraphicalEffects
 import AppModel 1.0
 
 ApplicationWindow {
@@ -38,7 +38,7 @@ ApplicationWindow {
 
         Image {
             anchors.centerIn: parent
-            source: './images/AGL_HMI_Blue_Background_Car-01.png'
+            source: 'qrc:/images/AGL_HMI_Blue_Background_Car-01.png'
         }
 
         GridView {