diff options
Diffstat (limited to 'recipes-demo/launcher/files')
-rw-r--r-- | recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch | 31 | ||||
-rw-r--r-- | recipes-demo/launcher/files/launcher.service | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch b/recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch new file mode 100644 index 000000000..93f55fd85 --- /dev/null +++ b/recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch @@ -0,0 +1,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 { diff --git a/recipes-demo/launcher/files/launcher.service b/recipes-demo/launcher/files/launcher.service index 00dfd9ad7..51c983cbd 100644 --- a/recipes-demo/launcher/files/launcher.service +++ b/recipes-demo/launcher/files/launcher.service @@ -6,6 +6,7 @@ After=homescreen.service applaunchd.service Type=simple User=agl-driver Environment=XDG_RUNTIME_DIR=/run/user/1001/ +Environment=QT_QPA_PLATFORM=wayland ExecStart=/usr/bin/launcher Restart=on-failure |