summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SECURITY.md19
-rw-r--r--meta-agl-demo-control-panel/SECURITY.md19
-rw-r--r--meta-agl-html5-demo/SECURITY.md19
-rw-r--r--meta-agl-kvm-demo/SECURITY.md19
-rw-r--r--meta-agl-kvm-demo/conf/include/agl-kvm.inc22
-rw-r--r--recipes-connectivity/vss/vss-agl_4.2.bb64
-rw-r--r--recipes-connectivity/vss/vss-agl_5.0.bb72
-rw-r--r--recipes-demo/agl-vss-helper/files/agl-vss-helper.yaml4
-rw-r--r--recipes-demo/homescreen/files/0001-Migrate-to-Qt-6.patch338
-rw-r--r--recipes-demo/homescreen/homescreen_git.bb3
-rw-r--r--recipes-demo/hvac/hvac/0001-Migrate-to-Qt-6.patch119
-rw-r--r--recipes-demo/hvac/hvac_git.bb3
-rw-r--r--recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch31
-rw-r--r--recipes-demo/launcher/launcher_git.bb3
-rw-r--r--recipes-demo/libqtappfw/libqtappfw/0001-Migrate-to-Qt-6.patch540
-rw-r--r--recipes-demo/libqtappfw/libqtappfw_git.bb6
-rw-r--r--recipes-demo/mediaplayer/mediaplayer/0001-Migrate-to-Qt-6.patch87
-rw-r--r--recipes-demo/mediaplayer/mediaplayer_git.bb3
-rw-r--r--recipes-demo/messaging/messaging/0001-Migrate-to-Qt-6.patch91
-rw-r--r--recipes-demo/messaging/messaging_git.bb6
-rw-r--r--recipes-demo/navigation/ondemandnavi-config/naviconfig.ini1
-rw-r--r--recipes-demo/navigation/ondemandnavi-config_1.0.bb6
-rw-r--r--recipes-demo/navigation/ondemandnavi/0001-Migrate-to-Qt-6.patch229
-rw-r--r--recipes-demo/navigation/ondemandnavi_git.bb3
-rw-r--r--recipes-demo/navigation/tbtnavi_git.bb2
-rw-r--r--recipes-demo/phone/phone/0001-Migrate-to-Qt-6.patch189
-rw-r--r--recipes-demo/phone/phone_git.bb6
-rw-r--r--recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style/0001-Migrate-to-Qt-6.patch71
-rw-r--r--recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style_git.bb6
-rw-r--r--recipes-demo/radio/files/0001-Migrate-to-Qt-6.patch103
-rw-r--r--recipes-demo/radio/radio_git.bb3
-rw-r--r--recipes-demo/settings/settings/0001-Migrate-to-Qt-6.patch253
-rw-r--r--recipes-demo/settings/settings_git.bb6
-rw-r--r--recipes-demo/window-management-client-grpc/window-management-client-grpc/0001-Migrate-to-Qt-6.patch74
-rw-r--r--recipes-demo/window-management-client-grpc/window-management-client-grpc_git.bb6
-rw-r--r--templates/feature/agl-demo-control-panel/50_bblayers.conf.inc1
-rw-r--r--templates/feature/agl-demo-control-panel/included.dep1
-rw-r--r--templates/feature/agl-demo/50_bblayers.conf.inc1
-rw-r--r--templates/feature/agl-demo/included.dep2
39 files changed, 179 insertions, 2252 deletions
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 000000000..a3c80fdd3
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,19 @@
+How to Report a Potential Vulnerability?
+========================================
+
+If you would like to report a public issue (for example, one with a released
+CVE number), please report it to security AT automotivelinux DOT org
+
+If you are dealing with a not-yet released or urgent issue, please send a
+message to security AT automotivelinux DOT org, including as many details as
+possible: the layer or software module affected, the recipe and its version,
+and any example code, if available.
+
+Branches maintained with security fixes
+---------------------------------------
+
+See [https://wiki.automotivelinux.org/schedule this page]
+for detailed info regarding the policies and maintenance of Stable branches.
+
+The [https://wiki.automotivelinux.org/agl-distro/release-notes Release page]
+contains a list of all releases of Automotive Grade Linux.
diff --git a/meta-agl-demo-control-panel/SECURITY.md b/meta-agl-demo-control-panel/SECURITY.md
new file mode 100644
index 000000000..a3c80fdd3
--- /dev/null
+++ b/meta-agl-demo-control-panel/SECURITY.md
@@ -0,0 +1,19 @@
+How to Report a Potential Vulnerability?
+========================================
+
+If you would like to report a public issue (for example, one with a released
+CVE number), please report it to security AT automotivelinux DOT org
+
+If you are dealing with a not-yet released or urgent issue, please send a
+message to security AT automotivelinux DOT org, including as many details as
+possible: the layer or software module affected, the recipe and its version,
+and any example code, if available.
+
+Branches maintained with security fixes
+---------------------------------------
+
+See [https://wiki.automotivelinux.org/schedule this page]
+for detailed info regarding the policies and maintenance of Stable branches.
+
+The [https://wiki.automotivelinux.org/agl-distro/release-notes Release page]
+contains a list of all releases of Automotive Grade Linux.
diff --git a/meta-agl-html5-demo/SECURITY.md b/meta-agl-html5-demo/SECURITY.md
new file mode 100644
index 000000000..a3c80fdd3
--- /dev/null
+++ b/meta-agl-html5-demo/SECURITY.md
@@ -0,0 +1,19 @@
+How to Report a Potential Vulnerability?
+========================================
+
+If you would like to report a public issue (for example, one with a released
+CVE number), please report it to security AT automotivelinux DOT org
+
+If you are dealing with a not-yet released or urgent issue, please send a
+message to security AT automotivelinux DOT org, including as many details as
+possible: the layer or software module affected, the recipe and its version,
+and any example code, if available.
+
+Branches maintained with security fixes
+---------------------------------------
+
+See [https://wiki.automotivelinux.org/schedule this page]
+for detailed info regarding the policies and maintenance of Stable branches.
+
+The [https://wiki.automotivelinux.org/agl-distro/release-notes Release page]
+contains a list of all releases of Automotive Grade Linux.
diff --git a/meta-agl-kvm-demo/SECURITY.md b/meta-agl-kvm-demo/SECURITY.md
new file mode 100644
index 000000000..a3c80fdd3
--- /dev/null
+++ b/meta-agl-kvm-demo/SECURITY.md
@@ -0,0 +1,19 @@
+How to Report a Potential Vulnerability?
+========================================
+
+If you would like to report a public issue (for example, one with a released
+CVE number), please report it to security AT automotivelinux DOT org
+
+If you are dealing with a not-yet released or urgent issue, please send a
+message to security AT automotivelinux DOT org, including as many details as
+possible: the layer or software module affected, the recipe and its version,
+and any example code, if available.
+
+Branches maintained with security fixes
+---------------------------------------
+
+See [https://wiki.automotivelinux.org/schedule this page]
+for detailed info regarding the policies and maintenance of Stable branches.
+
+The [https://wiki.automotivelinux.org/agl-distro/release-notes Release page]
+contains a list of all releases of Automotive Grade Linux.
diff --git a/meta-agl-kvm-demo/conf/include/agl-kvm.inc b/meta-agl-kvm-demo/conf/include/agl-kvm.inc
index 894a45790..6a2862796 100644
--- a/meta-agl-kvm-demo/conf/include/agl-kvm.inc
+++ b/meta-agl-kvm-demo/conf/include/agl-kvm.inc
@@ -1,23 +1,17 @@
DISTRO_FEATURES:append = " virtualization"
#
-# Attempt to make guest machine derived from host machine, as opposed to
-# hard-coding it in the multiconfig conf file. Unfortunately, using any
-# of the expanded overrides or e.g. TUNE_ARCH from the host MACHINE seems
-# not feasible here with respect to BitBake conf file parse ordering, so
-# a generic mapping to e.g. virtio-${TUNE_ARCH} is sadly not currently
-# workable.
+# Unfortunately, using any of the expanded overrides or e.g. TUNE_ARCH
+# from the host MACHINE here seems not feasible due to BitBake conf
+# file parse ordering, so a generic mapping to e.g. virtio-${TUNE_ARCH}
+# is sadly not currently workable.
#
-# Define a default, for now use one that will cause an immediate error.
-AGL_GUEST_MACHINE = "INVALID"
+# Set default guest machine
+AGL_GUEST_MACHINE = "virtio-aarch64"
-# Set for demo target machine
-AGL_GUEST_MACHINE:h3ulcb = "virtio-aarch64"
-
-# Force variable value to be live before multiconfigs are parsed to make
-# BitBake parser happy
-AGL_GUEST_MACHINE := "${AGL_GUEST_MACHINE}"
+# Hook to allow overriding AGL_GUEST_MACHINE for specific targets
+include agl-kvm-${MACHINE}.inc
BBMULTICONFIG = "agl-kvm-guest"
diff --git a/recipes-connectivity/vss/vss-agl_4.2.bb b/recipes-connectivity/vss/vss-agl_4.2.bb
deleted file mode 100644
index 981ba1645..000000000
--- a/recipes-connectivity/vss/vss-agl_4.2.bb
+++ /dev/null
@@ -1,64 +0,0 @@
-SUMMARY = "Vehicle Signal Specification with AGL overlays"
-LICENSE = "MPL-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
-
-DEPENDS = "vss-tools-native"
-
-inherit allarch update-alternatives
-
-require recipes-support/vss/vss.inc
-
-SRC_URI += "file://agl_vss_overlay.vspec \
- file://agl_vss_overlay.vspec.control-panel \
- file://agl_vss_overlay.vspec.gw-control-panel \
- file://agl_vss_overlay.vspec.gw-hardware \
-"
-# Since we're not relying on the simple upstream repo Makefile, use
-# best practices and output into a separate directory.
-B = "${WORKDIR}/build"
-
-do_configure[noexec] = "1"
-
-VSPEC2JSON_OPTS = "-e dbc2vss,vss2dbc --no-uuid --json-pretty"
-
-do_compile() {
- vspec2json.py -I ${S}/spec ${VSPEC2JSON_OPTS} -o ${WORKDIR}/agl_vss_overlay.vspec -u ${S}/spec/units.yaml ${S}/spec/VehicleSignalSpecification.vspec vss_rel_${PV}-agl.json
- vspec2json.py -I ${S}/spec ${VSPEC2JSON_OPTS} -o ${WORKDIR}/agl_vss_overlay.vspec.control-panel -u ${S}/spec/units.yaml ${S}/spec/VehicleSignalSpecification.vspec vss_rel_${PV}-agl-control-panel.json
- vspec2json.py -I ${S}/spec ${VSPEC2JSON_OPTS} -o ${WORKDIR}/agl_vss_overlay.vspec.gw-control-panel -u ${S}/spec/units.yaml ${S}/spec/VehicleSignalSpecification.vspec vss_rel_${PV}-agl-gw-control-panel.json
- vspec2json.py -I ${S}/spec ${VSPEC2JSON_OPTS} -o ${WORKDIR}/agl_vss_overlay.vspec.gw-hardware -u ${S}/spec/units.yaml ${S}/spec/VehicleSignalSpecification.vspec vss_rel_${PV}-agl-gw-hardware.json
-}
-
-do_install() {
- install -d ${D}${datadir}/vss
- install -m 0644 vss_rel_${PV}-agl.json ${D}${datadir}/vss/
- install -m 0644 vss_rel_${PV}-agl-control-panel.json ${D}${datadir}/vss/
- install -m 0644 vss_rel_${PV}-agl-gw-control-panel.json ${D}${datadir}/vss/
- install -m 0644 vss_rel_${PV}-agl-gw-hardware.json ${D}${datadir}/vss/
-}
-
-PACKAGE_BEFORE_PN += "${PN}-control-panel ${PN}-gw-control-panel ${PN}-gw-hardware"
-
-ALTERNATIVE_LINK_NAME[vss.json] = "${datadir}/vss/vss.json"
-
-ALTERNATIVE:${PN} = "vss.json"
-ALTERNATIVE_TARGET_${PN} = "${datadir}/vss/vss_rel_${PV}-agl.json"
-ALTERNATIVE_PRIORITY_${PN} = "20"
-FILES:${PN} += "${datadir}/vss/vss_rel_${PV}-agl.json"
-
-ALTERNATIVE:${PN}-control-panel = "vss.json"
-ALTERNATIVE_TARGET_${PN}-control-panel = "${datadir}/vss/vss_rel_${PV}-agl-control-panel.json"
-ALTERNATIVE_PRIORITY_${PN}-control-panel = "30"
-FILES:${PN}-control-panel += "${datadir}/vss/vss_rel_${PV}-agl-control-panel.json"
-
-ALTERNATIVE:${PN}-gw-hardware = "vss.json"
-ALTERNATIVE_TARGET_${PN}-gw-hardware = "${datadir}/vss/vss_rel_${PV}-agl-gw-hardware.json"
-ALTERNATIVE_PRIORITY_${PN}-gw-hardware = "31"
-FILES:${PN}-gw-hardware += "${datadir}/vss/vss_rel_${PV}-agl-gw-hardware.json"
-
-# Higher priority than gw-hardware, as we want it to be the default
-# if both are installed (as is the case with the full gateway demo
-# setup).
-ALTERNATIVE:${PN}-gw-control-panel = "vss.json"
-ALTERNATIVE_TARGET_${PN}-gw-control-panel = "${datadir}/vss/vss_rel_${PV}-agl-gw-control-panel.json"
-ALTERNATIVE_PRIORITY_${PN}-gw-control-panel = "32"
-FILES:${PN}-gw-control-panel += "${datadir}/vss/vss_rel_${PV}-agl-gw-control-panel.json"
diff --git a/recipes-connectivity/vss/vss-agl_5.0.bb b/recipes-connectivity/vss/vss-agl_5.0.bb
new file mode 100644
index 000000000..e86824315
--- /dev/null
+++ b/recipes-connectivity/vss/vss-agl_5.0.bb
@@ -0,0 +1,72 @@
+SUMMARY = "Vehicle Signal Specification with AGL overlays"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
+
+DEPENDS = "vss-tools-native"
+
+inherit allarch update-alternatives
+
+require recipes-support/vss/vss.inc
+
+SRC_URI += "file://agl_vss_overlay.vspec \
+ file://agl_vss_overlay.vspec.control-panel \
+ file://agl_vss_overlay.vspec.gw-control-panel \
+ file://agl_vss_overlay.vspec.gw-hardware \
+"
+# Since we're not relying on the simple upstream repo Makefile, use
+# best practices and output into a separate directory.
+B = "${WORKDIR}/build"
+
+do_configure[noexec] = "1"
+
+VSPEC_JSON_OPTS = " \
+ -I ${S}/spec \
+ -u ${S}/spec/units.yaml \
+ --vspec ${S}/spec/VehicleSignalSpecification.vspec \
+ -e dbc2vss \
+ -e vss2dbc \
+ --no-uuid \
+ --pretty \
+"
+
+do_compile() {
+ vspec export json ${VSPEC_JSON_OPTS} -l ${WORKDIR}/agl_vss_overlay.vspec --output vss_${PV}-agl.json
+ vspec export json ${VSPEC_JSON_OPTS} -l ${WORKDIR}/agl_vss_overlay.vspec.control-panel --output vss_${PV}-agl-control-panel.json
+ vspec export json ${VSPEC_JSON_OPTS} -l ${WORKDIR}/agl_vss_overlay.vspec.gw-control-panel --output vss_${PV}-agl-gw-control-panel.json
+ vspec export json ${VSPEC_JSON_OPTS} -l ${WORKDIR}/agl_vss_overlay.vspec.gw-hardware --output vss_${PV}-agl-gw-hardware.json
+}
+
+do_install() {
+ install -d ${D}${datadir}/vss
+ install -m 0644 vss_${PV}-agl.json ${D}${datadir}/vss/
+ install -m 0644 vss_${PV}-agl-control-panel.json ${D}${datadir}/vss/
+ install -m 0644 vss_${PV}-agl-gw-control-panel.json ${D}${datadir}/vss/
+ install -m 0644 vss_${PV}-agl-gw-hardware.json ${D}${datadir}/vss/
+}
+
+PACKAGE_BEFORE_PN += "${PN}-control-panel ${PN}-gw-control-panel ${PN}-gw-hardware"
+
+ALTERNATIVE_LINK_NAME[vss.json] = "${datadir}/vss/vss.json"
+
+ALTERNATIVE:${PN} = "vss.json"
+ALTERNATIVE_TARGET_${PN} = "${datadir}/vss/vss_${PV}-agl.json"
+ALTERNATIVE_PRIORITY_${PN} = "20"
+FILES:${PN} += "${datadir}/vss/vss_${PV}-agl.json"
+
+ALTERNATIVE:${PN}-control-panel = "vss.json"
+ALTERNATIVE_TARGET_${PN}-control-panel = "${datadir}/vss/vss_${PV}-agl-control-panel.json"
+ALTERNATIVE_PRIORITY_${PN}-control-panel = "30"
+FILES:${PN}-control-panel += "${datadir}/vss/vss_${PV}-agl-control-panel.json"
+
+ALTERNATIVE:${PN}-gw-hardware = "vss.json"
+ALTERNATIVE_TARGET_${PN}-gw-hardware = "${datadir}/vss/vss_${PV}-agl-gw-hardware.json"
+ALTERNATIVE_PRIORITY_${PN}-gw-hardware = "31"
+FILES:${PN}-gw-hardware += "${datadir}/vss/vss_${PV}-agl-gw-hardware.json"
+
+# Higher priority than gw-hardware, as we want it to be the default
+# if both are installed (as is the case with the full gateway demo
+# setup).
+ALTERNATIVE:${PN}-gw-control-panel = "vss.json"
+ALTERNATIVE_TARGET_${PN}-gw-control-panel = "${datadir}/vss/vss_${PV}-agl-gw-control-panel.json"
+ALTERNATIVE_PRIORITY_${PN}-gw-control-panel = "32"
+FILES:${PN}-gw-control-panel += "${datadir}/vss/vss_${PV}-agl-gw-control-panel.json"
diff --git a/recipes-demo/agl-vss-helper/files/agl-vss-helper.yaml b/recipes-demo/agl-vss-helper/files/agl-vss-helper.yaml
index 21b5ce9a0..22d77e303 100644
--- a/recipes-demo/agl-vss-helper/files/agl-vss-helper.yaml
+++ b/recipes-demo/agl-vss-helper/files/agl-vss-helper.yaml
@@ -63,9 +63,9 @@ initialize:
value: false
- signal: Vehicle.Powertrain.TractionBattery.Charging.IsCharging
value: false
-- signal: Vehicle.Powertrain.TractionBattery.Charging.IsChargingCableConnected
+- signal: Vehicle.Powertrain.TractionBattery.Charging.ChargingPort.AnyPosition.IsChargingCableConnected
value: false
-- signal: Vehicle.Powertrain.TractionBattery.Charging.IsChargingCableLocked
+- signal: Vehicle.Powertrain.TractionBattery.Charging.ChargingPort.AnyPosition.IsChargingCableLocked
value: false
- signal: Vehicle.Powertrain.TractionBattery.Charging.IsDischarging
value: false
diff --git a/recipes-demo/homescreen/files/0001-Migrate-to-Qt-6.patch b/recipes-demo/homescreen/files/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 89e992b4b..000000000
--- a/recipes-demo/homescreen/files/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,338 +0,0 @@
-From 8c60817ccf80502c03d3852afac006e25903d4b9 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:08:36 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- homescreen/meson.build | 16 ++++++++--------
- homescreen/qml/IconItem.qml | 4 ++--
- homescreen/qml/MediaAreaBlank.qml | 4 ++--
- homescreen/qml/MediaAreaMusic.qml | 14 +++++++-------
- homescreen/qml/MediaAreaRadio.qml | 2 +-
- homescreen/qml/ShortcutIcon.qml | 6 +++---
- homescreen/qml/SpeechChrome.qml | 6 +++---
- homescreen/qml/StatusArea.qml | 6 +++---
- homescreen/qml/TopArea.qml | 2 +-
- homescreen/qml/background.qml | 2 +-
- homescreen/qml/background_with_panels.qml | 4 ++--
- meson.build | 2 +-
- 12 files changed, 34 insertions(+), 34 deletions(-)
-
-diff --git a/homescreen/meson.build b/homescreen/meson.build
-index 4b98cd1..42645a1 100644
---- a/homescreen/meson.build
-+++ b/homescreen/meson.build
-@@ -1,5 +1,5 @@
- cpp = meson.get_compiler('cpp')
--qt5_dep = dependency('qt5', modules: ['Qml', 'Quick', 'Gui'])
-+qt_dep = dependency('qt6', modules: ['Core', 'Qml', 'Quick', 'Gui'])
- dep_wayland_client = dependency('wayland-client', version: '>= 1.20.0')
- dep_qtappfw = [
- dependency('qtappfw-weather'),
-@@ -14,11 +14,11 @@ protoc = find_program('protoc')
- grpc_cpp = find_program('grpc_cpp_plugin')
-
- qt_defines = []
--qpa_header_path = join_paths(qt5_dep.version(), 'QtGui')
-+qpa_header_path = join_paths(qt_dep.version(), 'QtGui')
- qpa_header = join_paths(qpa_header_path, 'qpa/qplatformnativeinterface.h')
- # we pass this QT_QPA_HEADER straight in the code as there's no easy
- # way to pass the correct header
--if cpp.has_header(qpa_header, dependencies : qt5_dep)
-+if cpp.has_header(qpa_header, dependencies : qt_dep)
- qt_defines += [ '-DQT_QPA_HEADER=<@0@>'.format(qpa_header) ]
- message('Found QtGui QPA header in ' + qpa_header_path)
- endif
-@@ -41,7 +41,7 @@ grpc_gen = generator(protoc, \
- output : ['@BASENAME@.grpc.pb.cc', '@BASENAME@.grpc.pb.h'],
- arguments : ['--proto_path=@CURRENT_SOURCE_DIR@/proto',
- '--grpc_out=@BUILD_DIR@',
-- '--plugin=protoc-gen-grpc=' + grpc_cpp.path(),
-+ '--plugin=protoc-gen-grpc=' + grpc_cpp.full_path(),
- '@INPUT@'])
- generated_grpc_sources = grpc_gen.process('proto/agl_shell.proto')
-
-@@ -54,7 +54,7 @@ grpc_deps = [
-
-
- homescreen_dep = [
-- qt5_dep,
-+ qt_dep,
- dep_wayland_client,
- dep_qtappfw,
- grpc_deps
-@@ -70,7 +70,7 @@ homescreen_resources = [
- 'qml/qml.qrc'
- ]
-
--resource_files = qt5.compile_resources(sources: homescreen_resources)
-+resource_files = qt.compile_resources(sources: homescreen_resources)
-
- protocols = [
- [ 'agl-shell', 'agl-compositor' ],
-@@ -116,8 +116,8 @@ homescreen_src_headers = [
- 'src/AglShellGrpcClient.h',
- ]
-
--moc_files = qt5.compile_moc(headers: homescreen_src_headers,
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: homescreen_src_headers,
-+ dependencies: qt_dep)
-
- homescreen_src = [
- 'src/statusbarserver.cpp',
-diff --git a/homescreen/qml/IconItem.qml b/homescreen/qml/IconItem.qml
-index ace0628..034a51d 100644
---- a/homescreen/qml/IconItem.qml
-+++ b/homescreen/qml/IconItem.qml
-@@ -1,6 +1,6 @@
- import QtQuick 2.0
- import QtQuick.Controls 2.0
--import QtGraphicalEffects 1.0
-+import Qt5Compat.GraphicalEffects
-
- Item {
- id: main
-@@ -23,7 +23,7 @@ Item {
- anchors.horizontalCenter: parent.horizontalCenter
- width: 220
- height: width
-- source: './images/%1_%2.svg'.arg(model.icon).arg(loc.pressed && (loc.index === model.index || loc.currentId === model.id) ? 'active' : 'inactive')
-+ source: 'qrc:/images/%1_%2.svg'.arg(model.icon).arg(loc.pressed && (loc.index === model.index || loc.currentId === model.id) ? 'active' : 'inactive')
- antialiasing: item.state !== ''
-
- property string initial: model.name.substring(0,1).toUpperCase()
-diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml
-index b758a7d..3c7ff51 100644
---- a/homescreen/qml/MediaAreaBlank.qml
-+++ b/homescreen/qml/MediaAreaBlank.qml
-@@ -23,7 +23,7 @@ import MasterVolume 1.0
-
- Image {
- anchors.fill: parent
-- source: './images/Utility_Logo_Background-01.svg'
-+ source: 'qrc:/images/Utility_Logo_Background-01.svg'
- property bool displayVolume: false;
-
- MouseArea {
-@@ -41,7 +41,7 @@ Image {
- Image {
- id: logo_image
- anchors.centerIn: parent
-- source: './images/Utility_Logo_Grey-01.svg'
-+ source: 'qrc:/images/Utility_Logo_Grey-01.svg'
- }
-
- Timer {
-diff --git a/homescreen/qml/MediaAreaMusic.qml b/homescreen/qml/MediaAreaMusic.qml
-index 6d72003..ffb9796 100644
---- a/homescreen/qml/MediaAreaMusic.qml
-+++ b/homescreen/qml/MediaAreaMusic.qml
-@@ -22,7 +22,7 @@ import QtQuick.Controls 2.0
- Image {
- width: 1080
- height: 216
-- source: './images/Utility_Music_Background-01.png'
-+ source: 'qrc:/images/Utility_Music_Background-01.png'
-
- ColumnLayout {
- anchors.fill: parent
-@@ -33,7 +33,7 @@ Image {
- Layout.preferredHeight: 107
- spacing: 10
- Image {
-- source: './images/MediaMusic/AlbumArtwork.png'
-+ source: 'qrc:/images/MediaMusic/AlbumArtwork.png'
- width: 105.298
- height: 110.179
- fillMode: Image.PreserveAspectFit
-@@ -51,13 +51,13 @@ Image {
- Layout.fillHeight: true
- Layout.preferredHeight: 107
- Image {
-- source: './images/MediaPlayer/AGL_MediaPlayer_BackArrow.png'
-+ source: 'qrc:/images/MediaPlayer/AGL_MediaPlayer_BackArrow.png'
- }
- Image {
-- source: './images/MediaPlayer/AGL_MediaPlayer_Player_Pause.png'
-+ source: 'qrc:/images/MediaPlayer/AGL_MediaPlayer_Player_Pause.png'
- }
- Image {
-- source: './images/MediaPlayer/AGL_MediaPlayer_ForwardArrow.png'
-+ source: 'qrc:/images/MediaPlayer/AGL_MediaPlayer_ForwardArrow.png'
- }
-
- ProgressBar {
-@@ -71,10 +71,10 @@ Image {
- font.pixelSize: 20
- }
- Image {
-- source: './images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png'
-+ source: 'qrc:/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png'
- }
- Image {
-- source: './images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png'
-+ source: 'qrc:/images/MediaPlayer/AGL_MediaPlayer_Shuffle_Active.png'
- }
- ProgressBar {
- Layout.fillWidth: true
-diff --git a/homescreen/qml/MediaAreaRadio.qml b/homescreen/qml/MediaAreaRadio.qml
-index 73ab073..ed73000 100644
---- a/homescreen/qml/MediaAreaRadio.qml
-+++ b/homescreen/qml/MediaAreaRadio.qml
-@@ -20,5 +20,5 @@ import QtQuick 2.2
- Image {
- width: 1080
- height: 216
-- source: './images/Utility_Radio_Background-01.png'
-+ source: 'qrc:/images/Utility_Radio_Background-01.png'
- }
-diff --git a/homescreen/qml/ShortcutIcon.qml b/homescreen/qml/ShortcutIcon.qml
-index d039d36..f67a992 100644
---- a/homescreen/qml/ShortcutIcon.qml
-+++ b/homescreen/qml/ShortcutIcon.qml
-@@ -17,7 +17,7 @@
-
- import QtQuick 2.2
- import QtQuick.Controls 2.0
--import QtGraphicalEffects 1.0
-+import Qt5Compat.GraphicalEffects
-
- MouseArea {
- id: root
-@@ -30,13 +30,13 @@ MouseArea {
- Image {
- id: inactiveIcon
- anchors.fill: parent
-- source: './images/Shortcut/%1.svg'.arg(root.name.toLowerCase())
-+ source: 'qrc:/images/Shortcut/%1.svg'.arg(root.name.toLowerCase())
- fillMode: Image.PreserveAspectFit
- }
- Image {
- id: activeIcon
- anchors.fill: parent
-- source: './images/Shortcut/%1_active.svg'.arg(root.name.toLowerCase())
-+ source: 'qrc:/images/Shortcut/%1_active.svg'.arg(root.name.toLowerCase())
- fillMode: Image.PreserveAspectFit
- opacity: 0.0
- }
-diff --git a/homescreen/qml/SpeechChrome.qml b/homescreen/qml/SpeechChrome.qml
-index 123928c..e666f44 100644
---- a/homescreen/qml/SpeechChrome.qml
-+++ b/homescreen/qml/SpeechChrome.qml
-@@ -15,7 +15,7 @@ Item {
- id: chromeBarImage
-
- anchors.top: parent.top
-- source: "./images/SpeechChrome/bar.png"
-+ source: "qrc:/images/SpeechChrome/bar.png"
-
- Behavior on x {
- NumberAnimation { duration: 250 }
-@@ -34,7 +34,7 @@ Item {
- anchors.left: parent.left
- anchors.leftMargin: parent.width / 128
- anchors.verticalCenter: parent.verticalCenter
-- source: agentName === "Alexa" ? "./images/SpeechChrome/push_to_talk_alexa.png" : "./images/SpeechChrome/push_to_talk.svg"
-+ source: agentName === "Alexa" ? "qrc:/images/SpeechChrome/push_to_talk_alexa.png" : "qrc:/images/SpeechChrome/push_to_talk.svg"
-
- MouseArea {
- anchors.fill: parent
-@@ -55,7 +55,7 @@ Item {
- anchors.right: parent.right
- anchors.rightMargin: parent.width / 128
- anchors.verticalCenter: parent.verticalCenter
-- source: agentName === "Alexa" ? "./images/SpeechChrome/push_to_talk_alexa.png" : "./images/SpeechChrome/push_to_talk.svg"
-+ source: agentName === "Alexa" ? "qrc:/images/SpeechChrome/push_to_talk_alexa.png" : "qrc:/images/SpeechChrome/push_to_talk.svg"
-
- MouseArea {
- anchors.fill: parent
-diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml
-index 4a8fbc0..03c60ee 100644
---- a/homescreen/qml/StatusArea.qml
-+++ b/homescreen/qml/StatusArea.qml
-@@ -47,7 +47,7 @@ Item {
- icon = "WeatherIcons_Rain-01.png"
- }
-
-- condition_item.source = icon ? './images/Weather/' + icon : ''
-+ condition_item.source = icon ? 'qrc:/images/Weather/' + icon : ''
- }
-
- onTemperatureChanged: {
-@@ -99,7 +99,7 @@ Item {
- Layout.preferredHeight: 20
- Image {
- id: condition_item
-- source: './images/Weather/WeatherIcons_Rain-01.png'
-+ source: 'qrc:/images/Weather/WeatherIcons_Rain-01.png'
- }
- Text {
- id: temperature_item
-@@ -122,7 +122,7 @@ Item {
- id: bt_icon
- Layout.preferredWidth: 77
- Layout.preferredHeight: 73
-- source: connStatus ? './images/Status/HMI_Status_Bluetooth_On-01.png' : './images/Status/HMI_Status_Bluetooth_Inactive-01.png'
-+ source: connStatus ? 'qrc:/images/Status/HMI_Status_Bluetooth_On-01.png' : 'qrc:/images/Status/HMI_Status_Bluetooth_Inactive-01.png'
- fillMode: Image.PreserveAspectFit
- property string deviceName: "none"
- property bool connStatus: false
-diff --git a/homescreen/qml/TopArea.qml b/homescreen/qml/TopArea.qml
-index 3b0b25a..3b5289c 100644
---- a/homescreen/qml/TopArea.qml
-+++ b/homescreen/qml/TopArea.qml
-@@ -21,7 +21,7 @@ import QtQuick.Controls 2.0
-
- Image {
- anchors.fill: parent
-- source: './images/TopSection_NoText_NoIcons-01.svg'
-+ source: 'qrc:/images/TopSection_NoText_NoIcons-01.svg'
- //fillMode: Image.PreserveAspectCrop
- fillMode: Image.Stretch
-
-diff --git a/homescreen/qml/background.qml b/homescreen/qml/background.qml
-index c2bb309..a2ba39c 100644
---- a/homescreen/qml/background.qml
-+++ b/homescreen/qml/background.qml
-@@ -10,6 +10,6 @@ Window {
-
- Image {
- anchors.fill: parent
-- source: './images/AGL_HMI_Blue_Background_NoCar-01.png'
-+ source: 'qrc:/images/AGL_HMI_Blue_Background_NoCar-01.png'
- }
- }
-diff --git a/homescreen/qml/background_with_panels.qml b/homescreen/qml/background_with_panels.qml
-index f0cb958..c7cca7c 100644
---- a/homescreen/qml/background_with_panels.qml
-+++ b/homescreen/qml/background_with_panels.qml
-@@ -75,7 +75,7 @@ Window {
-
- Image {
- anchors.fill: parent
-- source: './images/TopSection_NoText_NoIcons-01.svg'
-+ source: 'qrc:/images/TopSection_NoText_NoIcons-01.svg'
- //fillMode: Image.PreserveAspectCrop
- fillMode: Image.Stretch
-
-@@ -104,7 +104,7 @@ Window {
- height: Screen.height - (2 * 216)
- Image {
- anchors.fill: parent
-- source: './images/AGL_HMI_Blue_Background_NoCar-01.png'
-+ source: 'qrc:/images/AGL_HMI_Blue_Background_NoCar-01.png'
- }
-
- }
-diff --git a/meson.build b/meson.build
-index 3d77b36..9ce3607 100644
---- a/meson.build
-+++ b/meson.build
-@@ -29,5 +29,5 @@ project (
- ],
- )
-
--qt5 = import('qt5')
-+qt = import('qt6')
- subdir('homescreen')
diff --git a/recipes-demo/homescreen/homescreen_git.bb b/recipes-demo/homescreen/homescreen_git.bb
index 22f9adbd9..7c2384a2e 100644
--- a/recipes-demo/homescreen/homescreen_git.bb
+++ b/recipes-demo/homescreen/homescreen_git.bb
@@ -25,9 +25,8 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/homescreen;protocol=http
file://homescreen.service \
file://homescreen.conf \
file://homescreen.token \
- file://0001-Migrate-to-Qt-6.patch \
"
-SRCREV = "2c91ad7b3b125176b2e26b435705557a089604a0"
+SRCREV = "0253013fb268f820a965bbebd8388f78686ccef6"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/hvac/hvac/0001-Migrate-to-Qt-6.patch b/recipes-demo/hvac/hvac/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index f19cabc4b..000000000
--- a/recipes-demo/hvac/hvac/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-From 2a425094986a7ad5c584803e03ff723689fa1b47 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:18:03 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- app/HVAC.qml | 19 +++++++++----------
- app/SeatHeatButton.qml | 10 +++++-----
- 2 files changed, 14 insertions(+), 15 deletions(-)
-
-diff --git a/app/HVAC.qml b/app/HVAC.qml
-index 4e27e2d..592dd1b 100644
---- a/app/HVAC.qml
-+++ b/app/HVAC.qml
-@@ -43,7 +43,6 @@ ApplicationWindow {
- anchors.centerIn: parent
- width: Window.width
- height: Window.height
-- scale: Window.scale
-
- ColumnLayout {
- anchors.fill: parent
-@@ -53,7 +52,7 @@ ApplicationWindow {
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- Image {
-- source: './images/HMI_HVAC_Fan_Icon.svg'
-+ source: 'qrc:/images/HMI_HVAC_Fan_Icon.svg'
- }
- Item {
- width: 1080 * 0.8
-@@ -100,8 +99,8 @@ ApplicationWindow {
- Layout.fillWidth: true
- spacing: 20
- ToggleButton {
-- onImage: './images/HMI_HVAC_Active.svg'
-- offImage: './images/HMI_HVAC_Inactive.svg'
-+ onImage: 'qrc:/images/HMI_HVAC_Active.svg'
-+ offImage: 'qrc:/images/HMI_HVAC_Inactive.svg'
- Label {
- anchors.centerIn: parent
- color: parent.checked ? '#00ADDC' : '#848286'
-@@ -113,8 +112,8 @@ ApplicationWindow {
- }
- }
- ToggleButton {
-- onImage: './images/HMI_HVAC_Active.svg'
-- offImage: './images/HMI_HVAC_Inactive.svg'
-+ onImage: 'qrc:/images/HMI_HVAC_Active.svg'
-+ offImage: 'qrc:/images/HMI_HVAC_Inactive.svg'
- Label {
- anchors.centerIn: parent
- color: parent.checked ? '#00ADDC' : '#848286'
-@@ -126,8 +125,8 @@ ApplicationWindow {
- }
- }
- ToggleButton {
-- onImage: './images/HMI_HVAC_Circulation_Active.svg'
-- offImage: './images/HMI_HVAC_Circulation_Inactive.svg'
-+ onImage: 'qrc:/images/HMI_HVAC_Circulation_Active.svg'
-+ offImage: 'qrc:/images/HMI_HVAC_Circulation_Inactive.svg'
- onCheckedChanged: {
- console.debug('Circulation', checked)
- }
-@@ -157,8 +156,8 @@ ApplicationWindow {
- Repeater {
- model: ['AirDown', 'AirUp', 'AirRight', 'Rear', 'Front']
- ToggleButton {
-- onImage: './images/HMI_HVAC_%1_Active.svg'.arg(model.modelData)
-- offImage: './images/HMI_HVAC_%1_Inactive.svg'.arg(model.modelData)
-+ onImage: 'qrc:/images/HMI_HVAC_%1_Active.svg'.arg(model.modelData)
-+ offImage: 'qrc:/images/HMI_HVAC_%1_Inactive.svg'.arg(model.modelData)
- onCheckedChanged: {
- console.debug(model.modelData, checked)
- }
-diff --git a/app/SeatHeatButton.qml b/app/SeatHeatButton.qml
-index 3495cf6..7e2e1d4 100644
---- a/app/SeatHeatButton.qml
-+++ b/app/SeatHeatButton.qml
-@@ -33,13 +33,13 @@ Item {
- anchors.centerIn: parent
- Image {
- id: chair
-- source: './images/HMI_HVAC_%1_Chair_OFF.svg'.arg(root.side)
-+ source: 'qrc:/images/HMI_HVAC_%1_Chair_OFF.svg'.arg(root.side)
- states: [
- State {
- when: root.headLevel > 0
- PropertyChanges {
- target: chair
-- source: './images/HMI_HVAC_%1_Chair_ON.svg'.arg(root.side)
-+ source: 'qrc:/images/HMI_HVAC_%1_Chair_ON.svg'.arg(root.side)
- }
- }
- ]
-@@ -48,20 +48,20 @@ Item {
- id: indicator
- width: 178
- height: 18
-- source: './images/HMI_HVAC_ChairIndicator_OFF.svg'
-+ source: 'qrc:/images/HMI_HVAC_ChairIndicator_OFF.svg'
- states: [
- State {
- when: root.headLevel === 1
- PropertyChanges {
- target: indicator
-- source: './images/HMI_HVAC_ChairIndicator_One.svg'
-+ source: 'qrc:/images/HMI_HVAC_ChairIndicator_One.svg'
- }
- },
- State {
- when: root.headLevel === 2
- PropertyChanges {
- target: indicator
-- source: './images/HMI_HVAC_ChairIndicator_Two.svg'
-+ source: 'qrc:/images/HMI_HVAC_ChairIndicator_Two.svg'
- }
- }
- ]
diff --git a/recipes-demo/hvac/hvac_git.bb b/recipes-demo/hvac/hvac_git.bb
index e17490444..c8a53cd57 100644
--- a/recipes-demo/hvac/hvac_git.bb
+++ b/recipes-demo/hvac/hvac_git.bb
@@ -18,9 +18,8 @@ PV = "2.0+git${SRCPV}"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/hvac;protocol=https;branch=${AGL_BRANCH} \
file://hvac.conf \
file://hvac.token \
- file://0001-Migrate-to-Qt-6.patch \
"
-SRCREV = "d37674bb6dbb5ceb15c650a0344b0caf624963bc"
+SRCREV = "3ff350bd5376c5a255909b43a7336801e797ca76"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch b/recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 93f55fd85..000000000
--- a/recipes-demo/launcher/files/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-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/launcher_git.bb b/recipes-demo/launcher/launcher_git.bb
index 2f8c5182e..214f0c5c5 100644
--- a/recipes-demo/launcher/launcher_git.bb
+++ b/recipes-demo/launcher/launcher_git.bb
@@ -22,9 +22,8 @@ PV = "1.0+git${SRCPV}"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/launcher;protocol=https;branch=${AGL_BRANCH} \
file://launcher.service \
- file://0001-Migrate-to-Qt-6.patch \
"
-SRCREV = "4be88c049f31b7659e09223857b92ca531835039"
+SRCREV = "83e68bfb154332e591da318301f604d2252a81fd"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/libqtappfw/libqtappfw/0001-Migrate-to-Qt-6.patch b/recipes-demo/libqtappfw/libqtappfw/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 7c1d8d18b..000000000
--- a/recipes-demo/libqtappfw/libqtappfw/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,540 +0,0 @@
-From c159e46ea970294173504f9f140e6ae81039a810 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:22:40 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- applauncher/meson.build | 12 ++++++------
- bluetooth/bluetoothmodel.cpp | 2 +-
- bluetooth/meson.build | 10 +++++-----
- hvac/meson.build | 10 +++++-----
- map/meson.build | 10 +++++-----
- mediaplayer/meson.build | 10 +++++-----
- meson.build | 4 ++--
- navigation/meson.build | 10 +++++-----
- network/meson.build | 10 +++++-----
- pbap/meson.build | 10 +++++-----
- pbap/pbap.cpp | 2 +-
- pbap/pbap.h | 6 +++---
- radio/meson.build | 12 ++++++------
- telephony/meson.build | 10 +++++-----
- vehicle-signals/QtKuksaClient.cpp | 2 +-
- vehicle-signals/meson.build | 14 +++++++-------
- vehicle-signals/vehiclesignals.cpp | 2 +-
- weather/meson.build | 10 +++++-----
- 18 files changed, 73 insertions(+), 73 deletions(-)
-
-diff --git a/applauncher/meson.build b/applauncher/meson.build
-index b36184a..ba31495 100644
---- a/applauncher/meson.build
-+++ b/applauncher/meson.build
-@@ -1,9 +1,9 @@
- cpp = meson.get_compiler('cpp')
- grpcpp_reflection_dep = cpp.find_library('grpc++_reflection')
-
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
- applauncher_dep = [
-- qt5_dep,
-+ qt_dep,
- dependency('protobuf'),
- dependency('grpc'),
- dependency('grpc++'),
-@@ -24,12 +24,12 @@ grpc_gen = generator(protoc, \
- output : ['@BASENAME@.grpc.pb.cc', '@BASENAME@.grpc.pb.h'],
- arguments : ['--proto_path=@CURRENT_SOURCE_DIR@/protos',
- '--grpc_out=@BUILD_DIR@',
-- '--plugin=protoc-gen-grpc=' + grpc_cpp.path(),
-+ '--plugin=protoc-gen-grpc=' + grpc_cpp.full_path(),
- '@INPUT@'])
- generated_grpc_sources = grpc_gen.process('protos/applauncher.proto')
-
--moc_files = qt5.compile_moc(headers : ['AppLauncherClient.h', 'AppLauncherGrpcClient.h'],
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers : ['AppLauncherClient.h', 'AppLauncherGrpcClient.h'],
-+ dependencies: qt_dep)
-
- src = [
- 'AppLauncherClient.cpp',
-@@ -52,5 +52,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-applauncher',
- filebase : 'qtappfw-applauncher',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'Library wrapping AGL AppLauncher API in Qt objects')
-diff --git a/bluetooth/bluetoothmodel.cpp b/bluetooth/bluetoothmodel.cpp
-index 605f950..dafdd54 100644
---- a/bluetooth/bluetoothmodel.cpp
-+++ b/bluetooth/bluetoothmodel.cpp
-@@ -248,5 +248,5 @@ bool BluetoothModelFilter::filterAcceptsRow(int sourceRow, const QModelIndex &so
- QModelIndex index = model->index(sourceRow);
- bool paired = model->data(index, BluetoothModel::BluetoothRoles::PairedRole).toBool();
-
-- return ((paired ? "true" : "false") == filterRegExp().pattern());
-+ return ((paired ? "true" : "false") == filterRegularExpression().pattern());
- }
-diff --git a/bluetooth/meson.build b/bluetooth/meson.build
-index 008fda1..c8f7e0f 100644
---- a/bluetooth/meson.build
-+++ b/bluetooth/meson.build
-@@ -1,17 +1,17 @@
--qt5_dep = dependency('qt5', modules: ['Core', 'Qml'])
-+qt_dep = dependency('qt6', modules: ['Core', 'Qml'])
-
- glib_dep = [dependency('glib-2.0'), dependency('gio-2.0'), dependency('gobject-2.0'), dependency('gio-unix-2.0')]
- bluez_glib_dep = dependency('bluez-glib')
-
--moc_files = qt5.compile_moc(headers : ['bluetooth.h', 'bluetoothmodel.h'],
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers : ['bluetooth.h', 'bluetoothmodel.h'],
-+ dependencies: qt_dep)
-
- src = ['bluetooth.cpp', 'bluetoothmodel.cpp', 'bluetootheventhandler.cpp', moc_files]
- lib = shared_library('qtappfw-bt',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: [qt5_dep, glib_dep, bluez_glib_dep],
-+ dependencies: [qt_dep, glib_dep, bluez_glib_dep],
- install: true)
-
- install_headers('bluetooth.h')
-@@ -21,7 +21,7 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-bt',
- filebase : 'qtappfw-bt',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'AGL Qt demo app framework helper library for using BlueZ.')
-
- qtappfw_bt_dep = declare_dependency(link_with: lib,
-diff --git a/hvac/meson.build b/hvac/meson.build
-index ce3679c..ad41612 100644
---- a/hvac/meson.build
-+++ b/hvac/meson.build
-@@ -1,14 +1,14 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
--moc_files = qt5.compile_moc(headers: 'hvac.h',
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: 'hvac.h',
-+ dependencies: qt_dep)
-
- src = ['hvac.cpp', moc_files]
- lib = shared_library('qtappfw-hvac',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: [qt5_dep, qtappfw_vs_dep],
-+ dependencies: [qt_dep, qtappfw_vs_dep],
- install: true)
-
- install_headers('hvac.h')
-@@ -18,5 +18,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-hvac',
- filebase : 'qtappfw-hvac',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'AGL Qt demo app framework helper library for using HVAC.')
-diff --git a/map/meson.build b/map/meson.build
-index 1f563e6..e68cd0e 100644
---- a/map/meson.build
-+++ b/map/meson.build
-@@ -1,14 +1,14 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
--moc_files = qt5.compile_moc(headers : 'map.h',
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers : 'map.h',
-+ dependencies: qt_dep)
-
- src = ['map.cpp', moc_files]
- lib = shared_library('qtappfw-bt-map',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: [qt5_dep, qtappfw_bt_dep],
-+ dependencies: [qt_dep, qtappfw_bt_dep],
- install: true)
-
- install_headers('map.h')
-@@ -18,5 +18,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-bt-map',
- filebase : 'qtappfw-bt-map',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'Library wrapping AGL Bluetooth MAP profile API in Qt objects')
-diff --git a/mediaplayer/meson.build b/mediaplayer/meson.build
-index ff2db0a..b6a716e 100644
---- a/mediaplayer/meson.build
-+++ b/mediaplayer/meson.build
-@@ -1,4 +1,4 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
- mpdclient_dep = dependency('libmpdclient')
-
-@@ -8,8 +8,8 @@ mediaplayer_headers = [ 'MediaplayerBackend.h',
- 'MpdEventHandler.h',
- 'mediaplayer.h'
- ]
--moc_files = qt5.compile_moc(headers: mediaplayer_headers,
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: mediaplayer_headers,
-+ dependencies: qt_dep)
-
- src = [ 'MediaplayerBackend.cpp',
- 'MediaplayerBluezBackend.cpp',
-@@ -22,7 +22,7 @@ lib = shared_library('qtappfw-mediaplayer',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: [qt5_dep, mpdclient_dep, qtappfw_bt_dep, qtappfw_vs_dep],
-+ dependencies: [qt_dep, mpdclient_dep, qtappfw_bt_dep, qtappfw_vs_dep],
- install: true)
-
- install_headers('mediaplayer.h')
-@@ -32,5 +32,5 @@ pkg_mod.generate(libraries: lib,
- version: '1.0',
- name: 'libqtappfw-mediaplayer',
- filebase: 'qtappfw-mediaplayer',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description: 'Library wrapping AGL mediaplayer API in Qt objects')
-diff --git a/meson.build b/meson.build
-index 263d3d5..0264a76 100644
---- a/meson.build
-+++ b/meson.build
-@@ -19,7 +19,7 @@ project (
- ['cpp'],
- version : '2.0.1',
- license : 'Apache-2.0',
-- meson_version : '>= 0.49.0',
-+ meson_version : '>= 0.59.0',
- default_options :
- [
- 'warning_level=1',
-@@ -29,7 +29,7 @@ project (
- ],
- )
-
--qt5 = import('qt5')
-+qt = import('qt6')
-
- #subdir('docs')
-
-diff --git a/navigation/meson.build b/navigation/meson.build
-index 9b8e3ea..5e59f3d 100644
---- a/navigation/meson.build
-+++ b/navigation/meson.build
-@@ -1,14 +1,14 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
--moc_files = qt5.compile_moc(headers: 'navigation.h',
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: 'navigation.h',
-+ dependencies: qt_dep)
-
- src = ['navigation.cpp', moc_files]
- lib = shared_library('qtappfw-navigation',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: [qt5_dep, qtappfw_vs_dep],
-+ dependencies: [qt_dep, qtappfw_vs_dep],
- install: true)
-
- install_headers('navigation.h')
-@@ -18,5 +18,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-navigation',
- filebase : 'qtappfw-navigation',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'Library wrapping AGL navigation API in Qt objects')
-diff --git a/network/meson.build b/network/meson.build
-index d60369d..0726264 100644
---- a/network/meson.build
-+++ b/network/meson.build
-@@ -1,4 +1,4 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
- glib_dep = [dependency('glib-2.0'), dependency('gio-2.0'), dependency('gobject-2.0'), dependency('gio-unix-2.0')]
- connman_glib_dep = dependency('connman-glib')
-@@ -12,8 +12,8 @@ network_headers = [ 'abstractnetworkmodel.h',
- 'wiredadapter.h',
- 'wirednetworkmodel.h'
- ]
--moc_files = qt5.compile_moc(headers: network_headers,
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: network_headers,
-+ dependencies: qt_dep)
-
- src = [ 'network.cpp',
- 'networkeventhandler.cpp',
-@@ -29,7 +29,7 @@ lib = shared_library('qtappfw-network',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: [qt5_dep, glib_dep, connman_glib_dep],
-+ dependencies: [qt_dep, glib_dep, connman_glib_dep],
- install: true)
-
- install_headers(['network.h', 'networkadapter.h', 'wifiadapter.h', 'wiredadapter.h'])
-@@ -39,5 +39,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-network',
- filebase : 'qtappfw-network',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'Library wrapping AGL network API in Qt objects')
-diff --git a/pbap/meson.build b/pbap/meson.build
-index 7e2d1fb..fc980a8 100644
---- a/pbap/meson.build
-+++ b/pbap/meson.build
-@@ -1,14 +1,14 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
--moc_files = qt5.compile_moc(headers : 'pbap.h',
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers : 'pbap.h',
-+ dependencies: qt_dep)
-
- src = ['pbap.cpp', moc_files]
- lib = shared_library('qtappfw-bt-pbap',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: qt5_dep,
-+ dependencies: qt_dep,
- install: true)
-
- install_headers('pbap.h')
-@@ -18,5 +18,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-bt-pbap',
- filebase : 'qtappfw-bt-pbap',
-- requires: 'Qt5Qml',
-+ requires: '',
- description : 'Library wrapping AGL Bluetooth PBAP profile API in Qt objects')
-diff --git a/pbap/pbap.cpp b/pbap/pbap.cpp
-index 7473c54..d98fbea 100644
---- a/pbap/pbap.cpp
-+++ b/pbap/pbap.cpp
-@@ -241,7 +241,7 @@ void Pbap::updateCalls(QJsonArray vcards)
- name = number;
- }
-
-- QStringList typelist = entry.value("type").toString().split(QRegExp("="));
-+ QStringList typelist = entry.value("type").toString().split(QRegularExpression("="));
- type = typelist.takeLast();
-
- datetime = entry.value("timestamp").toString();
-diff --git a/pbap/pbap.h b/pbap/pbap.h
-index 25fa450..447eeac 100644
---- a/pbap/pbap.h
-+++ b/pbap/pbap.h
-@@ -62,7 +62,7 @@ class Contact : public QObject
-
- Q_PROPERTY(QString name READ name NOTIFY nameChanged)
- Q_PROPERTY(QString photo READ photo NOTIFY photoChanged)
-- Q_PROPERTY(QQmlListProperty<PhoneNumber>numbers READ numbersList NOTIFY numbersListChanged)
-+ Q_PROPERTY(QQmlListProperty<PhoneNumber> numbers READ numbersList NOTIFY numbersListChanged)
-
- public:
- explicit Contact(QString name, QString photo, QList<PhoneNumber *>numbers);
-@@ -75,11 +75,11 @@ class Contact : public QObject
- QQmlListProperty<PhoneNumber>numbersList() {
- return QQmlListProperty<PhoneNumber>(this, 0, &Contact::countNumbers, &Contact::atNumbers);
- }
-- static int countNumbers(QQmlListProperty<PhoneNumber> *property) {
-+ static qsizetype countNumbers(QQmlListProperty<PhoneNumber> *property) {
- Contact *contact = qobject_cast<Contact *>(property->object);
- return contact->m_numbers.size();
- }
-- static PhoneNumber *atNumbers(QQmlListProperty<PhoneNumber> *property, int index) {
-+ static PhoneNumber *atNumbers(QQmlListProperty<PhoneNumber> *property, qsizetype index) {
- Contact *contact = qobject_cast<Contact *>(property->object);
- return contact->m_numbers[index];
- }
-diff --git a/radio/meson.build b/radio/meson.build
-index 7ae1bac..f4ed0dc 100644
---- a/radio/meson.build
-+++ b/radio/meson.build
-@@ -1,9 +1,9 @@
- cpp = meson.get_compiler('cpp')
- grpcpp_reflection_dep = cpp.find_library('grpc++_reflection')
-
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
- radio_dep = [
-- qt5_dep,
-+ qt_dep,
- dependency('protobuf'),
- dependency('grpc'),
- dependency('grpc++'),
-@@ -24,12 +24,12 @@ grpc_gen = generator(protoc, \
- output : ['@BASENAME@.grpc.pb.cc', '@BASENAME@.grpc.pb.h'],
- arguments : ['--proto_path=@CURRENT_SOURCE_DIR@/protos',
- '--grpc_out=@BUILD_DIR@',
-- '--plugin=protoc-gen-grpc=' + grpc_cpp.path(),
-+ '--plugin=protoc-gen-grpc=' + grpc_cpp.full_path(),
- '@INPUT@'])
- generated_grpc_sources = grpc_gen.process('protos/radio.proto')
-
--moc_files = qt5.compile_moc(headers: ['RadioClient.h', 'RadioGrpcClient.h'],
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: ['RadioClient.h', 'RadioGrpcClient.h'],
-+ dependencies: qt_dep)
-
- src = [
- 'RadioClient.cpp',
-@@ -53,5 +53,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-radio',
- filebase : 'qtappfw-radio',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'Library wrapping AGL radio API in Qt objects')
-diff --git a/telephony/meson.build b/telephony/meson.build
-index 934d70c..f32777f 100644
---- a/telephony/meson.build
-+++ b/telephony/meson.build
-@@ -1,14 +1,14 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
--moc_files = qt5.compile_moc(headers: 'telephony.h',
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: 'telephony.h',
-+ dependencies: qt_dep)
-
- src = ['telephony.cpp', moc_files]
- lib = shared_library('qtappfw-phone',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: qt5_dep,
-+ dependencies: qt_dep,
- install: true)
-
- install_headers('telephony.h')
-@@ -18,5 +18,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-phone',
- filebase : 'qtappfw-phone',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'Library wrapping AGL telephony API in Qt objects')
-diff --git a/vehicle-signals/QtKuksaClient.cpp b/vehicle-signals/QtKuksaClient.cpp
-index 901459d..e258670 100644
---- a/vehicle-signals/QtKuksaClient.cpp
-+++ b/vehicle-signals/QtKuksaClient.cpp
-@@ -84,7 +84,7 @@ QtKuksaClient::QtKuksaClient(const std::shared_ptr< ::grpc::ChannelInterface>& c
- void QtKuksaClient::connect()
- {
- // Check for connection in another thread
-- QFuture<void> future = QtConcurrent::run(this, &QtKuksaClient::waitForConnected);
-+ QFuture<void> future = QtConcurrent::run(&QtKuksaClient::waitForConnected, this);
- }
-
- void QtKuksaClient::get(const QString &path, const bool actuator)
-diff --git a/vehicle-signals/meson.build b/vehicle-signals/meson.build
-index 50383e4..4dd766c 100644
---- a/vehicle-signals/meson.build
-+++ b/vehicle-signals/meson.build
-@@ -1,10 +1,10 @@
- cpp = meson.get_compiler('cpp')
- grpcpp_reflection_dep = cpp.find_library('grpc++_reflection')
-
--qt5_dep = dependency('qt5', modules: ['Core', 'Concurrent'])
-+qt_dep = dependency('qt6', modules: ['Core', 'Concurrent'])
-
- vs_dep = [
-- qt5_dep,
-+ qt_dep,
- dependency('protobuf'),
- dependency('grpc'),
- dependency('grpc++'),
-@@ -30,14 +30,14 @@ grpc_gen = generator(protoc, \
- output : ['@BASENAME@.grpc.pb.cc', '@BASENAME@.grpc.pb.h'],
- arguments : ['-I=' + protos_base_dir,
- '--grpc_out=@BUILD_DIR@',
-- '--plugin=protoc-gen-grpc=' + grpc_cpp.path(),
-+ '--plugin=protoc-gen-grpc=' + grpc_cpp.full_path(),
- '@INPUT@'])
- generated_grpc_sources = [ \
- grpc_gen.process(protos_dir / 'val.proto', preserve_path_from : protos_base_dir),
- ]
-
--moc_files = qt5.compile_moc(headers: [ 'vehiclesignals.h', 'QtKuksaClient.h' ],
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: [ 'vehiclesignals.h', 'QtKuksaClient.h' ],
-+ dependencies: qt_dep)
-
- src = [
- 'vehiclesignals.cpp',
-@@ -62,10 +62,10 @@ pkg_mod.generate(libraries: lib,
- version: '1.0',
- name: 'libqtappfw-vehicle-signals',
- filebase: 'qtappfw-vehicle-signals',
-- requires: ['Qt5Core'],
-+ requires: ['Qt6Core'],
- description: 'Library wrapping VSS API in Qt objects')
-
--qtappfw_vs_dep = declare_dependency(dependencies: qt5_dep,
-+qtappfw_vs_dep = declare_dependency(dependencies: qt_dep,
- link_with: lib,
- include_directories: '.',
- sources: ['vehiclesignals.h'])
-diff --git a/vehicle-signals/vehiclesignals.cpp b/vehicle-signals/vehiclesignals.cpp
-index adf371a..f550955 100644
---- a/vehicle-signals/vehiclesignals.cpp
-+++ b/vehicle-signals/vehiclesignals.cpp
-@@ -160,7 +160,7 @@ void VehicleSignals::onSubscribeDone(const QMap<QString, bool> &signals_, bool c
- {
- if (!canceled) {
- // queue up a resubscribe attempt
-- QFuture<void> future = QtConcurrent::run(this, &VehicleSignals::resubscribe, signals_);
-+ QFuture<void> future = QtConcurrent::run(&VehicleSignals::resubscribe, this, signals_);
- }
- }
-
-diff --git a/weather/meson.build b/weather/meson.build
-index 116975b..bb6e3aa 100644
---- a/weather/meson.build
-+++ b/weather/meson.build
-@@ -1,14 +1,14 @@
--qt5_dep = dependency('qt5', modules: ['Qml'])
-+qt_dep = dependency('qt6', modules: ['Qml'])
-
--moc_files = qt5.compile_moc(headers: 'weather.h',
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: 'weather.h',
-+ dependencies: qt_dep)
-
- src = ['weather.cpp', moc_files]
- lib = shared_library('qtappfw-weather',
- sources: src,
- version: '1.0.0',
- soversion: '0',
-- dependencies: qt5_dep,
-+ dependencies: qt_dep,
- install: true)
-
- install_headers('weather.h')
-@@ -18,5 +18,5 @@ pkg_mod.generate(libraries : lib,
- version : '1.0',
- name : 'libqtappfw-weather',
- filebase : 'qtappfw-weather',
-- requires: 'Qt5Qml',
-+ requires: 'Qt6Qml',
- description : 'Library wrapping AGL weather API in Qt objects')
diff --git a/recipes-demo/libqtappfw/libqtappfw_git.bb b/recipes-demo/libqtappfw/libqtappfw_git.bb
index 7f4d9ddcd..3c40de12d 100644
--- a/recipes-demo/libqtappfw/libqtappfw_git.bb
+++ b/recipes-demo/libqtappfw/libqtappfw_git.bb
@@ -21,10 +21,8 @@ DEPENDS = " \
kuksa-databroker \
"
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/libqtappfw;protocol=https;branch=${AGL_BRANCH} \
- file://0001-Migrate-to-Qt-6.patch \
- "
-SRCREV = "4694b211569e15dc8aa4e75b6fb70e75946e766d"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/libqtappfw;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "4f75c049e8ba1e7fd4f1094f9ed8b681318f021d"
S = "${WORKDIR}/git"
# PV needs to be modified with SRCPV to work AUTOREV correctly
diff --git a/recipes-demo/mediaplayer/mediaplayer/0001-Migrate-to-Qt-6.patch b/recipes-demo/mediaplayer/mediaplayer/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index fc7dcb234..000000000
--- a/recipes-demo/mediaplayer/mediaplayer/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From b98a116f91e967eca96ecd3052eeeb78d8002e0c Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:24:39 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- app/MediaPlayer.qml | 22 +++++++++++-----------
- 1 file changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
-index fd4db58..6f381da 100644
---- a/app/MediaPlayer.qml
-+++ b/app/MediaPlayer.qml
-@@ -174,14 +174,14 @@ ApplicationWindow {
- //ToggleButton {
- // id: random
- // visible: bluetooth.connected == false
-- // offImage: './images/AGL_MediaPlayer_Shuffle_Inactive.svg'
-- // onImage: './images/AGL_MediaPlayer_Shuffle_Active.svg'
-+ // offImage: 'qrc:/images/AGL_MediaPlayer_Shuffle_Inactive.svg'
-+ // onImage: 'qrc:/images/AGL_MediaPlayer_Shuffle_Active.svg'
- //}
- ToggleButton {
- id: loop
- visible: player.av_connected === false
-- offImage: './images/AGL_MediaPlayer_Loop_Inactive.svg'
-- onImage: './images/AGL_MediaPlayer_Loop_Active.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_Loop_Inactive.svg'
-+ onImage: 'qrc:/images/AGL_MediaPlayer_Loop_Active.svg'
- onClicked: { mediaplayer.loop(checked ? "playlist" : "off") }
- }
- }
-@@ -228,15 +228,15 @@ ApplicationWindow {
- RowLayout {
- Layout.fillHeight: true
- // Image {
--// source: './images/AGL_MediaPlayer_Playlist_Inactive.svg'
-+// source: 'qrc:/images/AGL_MediaPlayer_Playlist_Inactive.svg'
- // }
- // Image {
--// source: './images/AGL_MediaPlayer_CD_Inactive.svg'
-+// source: 'qrc:/images/AGL_MediaPlayer_CD_Inactive.svg'
- // }
- Item { Layout.fillWidth: true }
- ImageButton {
- id: previous
-- offImage: './images/AGL_MediaPlayer_BackArrow.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_BackArrow.svg'
- onClicked: {
- mediaplayer.previous()
- }
-@@ -248,7 +248,7 @@ ApplicationWindow {
- when: player.status == "playing"
- PropertyChanges {
- target: play
-- offImage: './images/AGL_MediaPlayer_Player_Pause.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_Player_Pause.svg'
- onClicked: {
- mediaplayer.pause()
- }
-@@ -258,7 +258,7 @@ ApplicationWindow {
- when: player.status != "playing"
- PropertyChanges {
- target: play
-- offImage: './images/AGL_MediaPlayer_Player_Play.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_Player_Play.svg'
- onClicked: mediaplayer.play()
- }
- }
-@@ -266,7 +266,7 @@ ApplicationWindow {
- }
- ImageButton {
- id: forward
-- offImage: './images/AGL_MediaPlayer_ForwardArrow.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_ForwardArrow.svg'
- onClicked: {
- mediaplayer.next()
- }
-@@ -284,7 +284,7 @@ ApplicationWindow {
- mediaplayer.disconnect()
- }
- contentItem: Image {
-- source: player.av_connected ? './images/AGL_MediaPlayer_Bluetooth_Active.svg' : './images/AGL_MediaPlayer_Bluetooth_Inactive.svg'
-+ source: player.av_connected ? 'qrc:/images/AGL_MediaPlayer_Bluetooth_Active.svg' : 'qrc:/images/AGL_MediaPlayer_Bluetooth_Inactive.svg'
- }
- }
- }
diff --git a/recipes-demo/mediaplayer/mediaplayer_git.bb b/recipes-demo/mediaplayer/mediaplayer_git.bb
index 1f3b070ce..90364401c 100644
--- a/recipes-demo/mediaplayer/mediaplayer_git.bb
+++ b/recipes-demo/mediaplayer/mediaplayer_git.bb
@@ -13,9 +13,8 @@ PV = "2.0+git${SRCPV}"
SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/mediaplayer;protocol=https;branch=${AGL_BRANCH} \
file://mediaplayer.conf \
file://mediaplayer.token \
- file://0001-Migrate-to-Qt-6.patch \
"
-SRCREV = "0aefba20fe07dbb79d7b3683ab38c0b0b313a655"
+SRCREV = "4f733db769ac96df3e83b9c90506924ee6f19800"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/messaging/messaging/0001-Migrate-to-Qt-6.patch b/recipes-demo/messaging/messaging/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 4a8b1ab13..000000000
--- a/recipes-demo/messaging/messaging/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From 83be2a0e829c959f5466e6c44c60abadc628ea0b Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:28:22 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- app/Messaging.qml | 4 ++--
- app/Notification.qml | 2 +-
- app/TabImageButton.qml | 11 ++++++-----
- 3 files changed, 9 insertions(+), 8 deletions(-)
-
-diff --git a/app/Messaging.qml b/app/Messaging.qml
-index 48568c2..05bd452 100644
---- a/app/Messaging.qml
-+++ b/app/Messaging.qml
-@@ -41,13 +41,13 @@ ApplicationWindow {
- contentHeight: 160
-
- TabImageButton {
-- icon: "./images/ic_contacts_48px.svg"
-+ iconSource: "qrc:/images/ic_contacts_48px.svg"
- text: "Alerts"
- font.pixelSize: 50
- }
-
- TabImageButton {
-- icon: "./images/ic_contacts_48px.svg"
-+ iconSource: "qrc:/images/ic_contacts_48px.svg"
- text: "Compose"
- font.pixelSize: 50
- }
-diff --git a/app/Notification.qml b/app/Notification.qml
-index ac6b360..dd68ce3 100644
---- a/app/Notification.qml
-+++ b/app/Notification.qml
-@@ -30,7 +30,7 @@ Item {
- Image {
- id: button
- scale: 0.5
-- source: '../images/HMI_Settings_X.svg'
-+ source: 'qrc:/images/HMI_Settings_X.svg'
- MouseArea {
- anchors.fill: button
- onClicked: notificationModel.remove(index)
-diff --git a/app/TabImageButton.qml b/app/TabImageButton.qml
-index 2176595..c707574 100644
---- a/app/TabImageButton.qml
-+++ b/app/TabImageButton.qml
-@@ -41,6 +41,7 @@ import QtQuick.Layouts 1.1
- import QtQuick.Controls 2.2
- import QtQuick.Controls.impl 2.2
- import QtQuick.Templates 2.2 as T
-+import QtQuick.Controls.Basic 2.2
-
- T.TabButton {
- id: control
-@@ -53,13 +54,13 @@ T.TabButton {
-
- padding: 6
-
-- property url icon
-+ property url iconSource
-
- contentItem: ColumnLayout {
- spacing: 20
- Image {
- Layout.alignment: Qt.AlignCenter
-- source: control.icon
-+ source: control.iconSource
- width: 96
- height: 96
-
-@@ -70,7 +71,7 @@ T.TabButton {
- font: control.font
- elide: Text.ElideRight
- opacity: enabled ? 1 : 0.3
-- color: !control.checked ? Default.textLightColor : control.down ? Default.textDarkColor : Default.textColor
-+ color: !control.checked ? Basic.textLightColor : control.down ? Basic.textDarkColor : Basic.textColor
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- }
-@@ -78,7 +79,7 @@ T.TabButton {
- background: Rectangle {
- implicitHeight: 160
- color: control.down
-- ? (control.checked ? Default.tabButtonCheckedPressedColor : Default.tabButtonPressedColor)
-- : (control.checked ? "transparent" : Default.tabButtonColor)
-+ ? (control.checked ? Basic.tabButtonCheckedPressedColor : Basic.tabButtonPressedColor)
-+ : (control.checked ? "transparent" : Basic.tabButtonColor)
- }
- }
diff --git a/recipes-demo/messaging/messaging_git.bb b/recipes-demo/messaging/messaging_git.bb
index e3597b259..29d881b3e 100644
--- a/recipes-demo/messaging/messaging_git.bb
+++ b/recipes-demo/messaging/messaging_git.bb
@@ -10,10 +10,8 @@ DEPENDS = "qtdeclarative libqtappfw"
PV = "1.0+git${SRCPV}"
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/messaging;protocol=https;branch=${AGL_BRANCH} \
- file://0001-Migrate-to-Qt-6.patch \
- "
-SRCREV = "e58b0382de8e665d64b8e3486022a6bcb0572823"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/messaging;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "77ea1b245737d0cfc4d20035e6476dae6969e699"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/navigation/ondemandnavi-config/naviconfig.ini b/recipes-demo/navigation/ondemandnavi-config/naviconfig.ini
index f99c4483d..4ca24d57f 100644
--- a/recipes-demo/navigation/ondemandnavi-config/naviconfig.ini
+++ b/recipes-demo/navigation/ondemandnavi-config/naviconfig.ini
@@ -1,5 +1,4 @@
{
- "mapAccessToken":"MAPBOX_ACCESS_TOKEN",
"speed":60,
"interval":100,
"latitude":36.1363,
diff --git a/recipes-demo/navigation/ondemandnavi-config_1.0.bb b/recipes-demo/navigation/ondemandnavi-config_1.0.bb
index 644102ed3..db696c048 100644
--- a/recipes-demo/navigation/ondemandnavi-config_1.0.bb
+++ b/recipes-demo/navigation/ondemandnavi-config_1.0.bb
@@ -11,14 +11,8 @@ SRC_URI = "file://naviconfig.ini \
inherit allarch
-MAPBOX_ACCESS_TOKEN ?= ""
-
do_compile[noexec] = "1"
do_install () {
install -D -m 644 ${WORKDIR}/naviconfig.ini ${D}${sysconfdir}/naviconfig.ini
- if [ -n "${MAPBOX_ACCESS_TOKEN}" ]; then
- sed -i -e 's/MAPBOX_ACCESS_TOKEN/${MAPBOX_ACCESS_TOKEN}/;s/\("enableOSM":\)true/\1false/' \
- ${D}${sysconfdir}/naviconfig.ini
- fi
}
diff --git a/recipes-demo/navigation/ondemandnavi/0001-Migrate-to-Qt-6.patch b/recipes-demo/navigation/ondemandnavi/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 45a690c24..000000000
--- a/recipes-demo/navigation/ondemandnavi/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,229 +0,0 @@
-From f12a16fd4b959eb47c9ba88af1d80c31a7cd7f20 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:32:44 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- app/BtnArrow.qml | 4 +--
- app/BtnEnlarge.qml | 4 +--
- app/BtnGuidance.qml | 8 ++---
- app/BtnMapDirection.qml | 4 +--
- app/BtnPresentPosition.qml | 4 +--
- app/BtnShrink.qml | 4 +--
- app/ImgDestinationDirection.qml | 2 +-
- app/ProgressNextCross.qml | 59 ++++++++++++++++++++++++++++-----
- app/app.pro | 2 +-
- app/navigation.qml | 19 ++++-------
- 10 files changed, 72 insertions(+), 38 deletions(-)
-
-diff --git a/app/BtnArrow.qml b/app/BtnArrow.qml
-index 2039865..5a999c9 100644
---- a/app/BtnArrow.qml
-+++ b/app/BtnArrow.qml
-@@ -1,5 +1,5 @@
--import QtQuick 2.0
--import QtQuick.Controls 1.5
-+import QtQuick
-+import QtQuick.Controls
-
- Item {
- Button {
-diff --git a/app/BtnEnlarge.qml b/app/BtnEnlarge.qml
-index cc158ad..eafee56 100644
---- a/app/BtnEnlarge.qml
-+++ b/app/BtnEnlarge.qml
-@@ -1,5 +1,5 @@
--import QtQuick 2.0
--import QtQuick.Controls 1.5
-+import QtQuick
-+import QtQuick.Controls
-
- Item {
- Button {
-diff --git a/app/BtnGuidance.qml b/app/BtnGuidance.qml
-index 2130857..b6267df 100644
---- a/app/BtnGuidance.qml
-+++ b/app/BtnGuidance.qml
-@@ -1,7 +1,7 @@
--import QtQuick 2.0
--import QtQuick.Controls 1.5
--import QtLocation 5.9
--import QtPositioning 5.6
-+import QtQuick
-+import QtQuick.Controls
-+import QtLocation
-+import QtPositioning
-
- Item {
- id: btn_guidance
-diff --git a/app/BtnMapDirection.qml b/app/BtnMapDirection.qml
-index c56f0bf..cd703ff 100644
---- a/app/BtnMapDirection.qml
-+++ b/app/BtnMapDirection.qml
-@@ -1,5 +1,5 @@
--import QtQuick 2.0
--import QtQuick.Controls 1.5
-+import QtQuick
-+import QtQuick.Controls
-
- Item {
- Button {
-diff --git a/app/BtnPresentPosition.qml b/app/BtnPresentPosition.qml
-index 2734664..01761c8 100644
---- a/app/BtnPresentPosition.qml
-+++ b/app/BtnPresentPosition.qml
-@@ -1,5 +1,5 @@
--import QtQuick 2.0
--import QtQuick.Controls 1.5
-+import QtQuick
-+import QtQuick.Controls
-
- Item {
- id: btn_present_position
-diff --git a/app/BtnShrink.qml b/app/BtnShrink.qml
-index 23859dc..079d6d6 100644
---- a/app/BtnShrink.qml
-+++ b/app/BtnShrink.qml
-@@ -1,5 +1,5 @@
--import QtQuick 2.0
--import QtQuick.Controls 1.5
-+import QtQuick
-+import QtQuick.Controls
-
- Item {
- Button {
-diff --git a/app/ImgDestinationDirection.qml b/app/ImgDestinationDirection.qml
-index e6ee5de..b80aca8 100644
---- a/app/ImgDestinationDirection.qml
-+++ b/app/ImgDestinationDirection.qml
-@@ -1,4 +1,4 @@
--import QtQuick 2.0
-+import QtQuick
-
- Item {
- id: img_destination_direction
-diff --git a/app/ProgressNextCross.qml b/app/ProgressNextCross.qml
-index 31e552c..a597c97 100644
---- a/app/ProgressNextCross.qml
-+++ b/app/ProgressNextCross.qml
-@@ -1,6 +1,5 @@
--import QtQuick 2.0
--import QtQuick.Controls 1.5
--import QtQuick.Controls.Styles 1.4
-+import QtQuick
-+import QtQuick.Controls
-
- Item {
- id: progress_next_cross
-@@ -24,14 +23,56 @@ Item {
- id: bar
- width: 25
- height: 100
-- orientation: Qt.Vertical
-+ rotation: 90
- value: 0
-- minimumValue: 0
-- maximumValue: 300
-+ from: 0
-+ to: 300
-
-- style: ProgressBarStyle {
-- progress: Rectangle {
-- color: "green"
-+ background: Rectangle {
-+ implicitWidth: 200
-+ implicitHeight: 6
-+ color: "#e6e6e6"
-+ radius: 3
-+ }
-+
-+ contentItem: Item {
-+ implicitWidth: 200
-+ implicitHeight: 4
-+
-+ // Progress indicator for determinate state.
-+ Rectangle {
-+ width: bar.visualPosition * parent.width
-+ height: parent.height
-+ radius: 2
-+ color: "#17a81a"
-+ visible: !bar.indeterminate
-+ }
-+
-+ // Scrolling animation for indeterminate state.
-+ Item {
-+ anchors.fill: parent
-+ visible: bar.indeterminate
-+ clip: true
-+
-+ Row {
-+ spacing: 20
-+
-+ Repeater {
-+ model: bar.width / 40 + 1
-+
-+ Rectangle {
-+ color: "#17a81a"
-+ width: 20
-+ height: bar.height
-+ }
-+ }
-+ XAnimator on x {
-+ from: 0
-+ to: -40
-+ loops: Animation.Infinite
-+ running: bar.indeterminate
-+ }
-+ }
- }
- }
- }
-diff --git a/app/app.pro b/app/app.pro
-index 1a0a9c3..849810d 100644
---- a/app/app.pro
-+++ b/app/app.pro
-@@ -1,6 +1,6 @@
- TEMPLATE = app
- TARGET = navigation
--QT = core qml quick positioning
-+QT = core qml quick positioning location
- CONFIG += c++11 link_pkgconfig
-
- PKGCONFIG += qtappfw-navigation qtappfw-vehicle-signals
-diff --git a/app/navigation.qml b/app/navigation.qml
-index 5cb3634..0d61d46 100644
---- a/app/navigation.qml
-+++ b/app/navigation.qml
-@@ -15,12 +15,12 @@
- * limitations under the License.
- */
-
--import QtQuick 2.6
--import QtQuick.Layouts 1.1
--import QtQuick.Controls 2.0
--import QtLocation 5.9
--import QtPositioning 5.6
--import QtQuick.Window 2.11
-+import QtQuick
-+import QtQuick.Layouts
-+import QtQuick.Controls
-+import QtLocation
-+import QtPositioning
-+import QtQuick.Window
-
- ApplicationWindow {
- id: root
-@@ -476,13 +476,6 @@ ApplicationWindow {
- }
- }
-
-- gesture.onFlickStarted: {
-- btn_present_position.state = "Optional"
-- }
-- gesture.onPanStarted: {
-- btn_present_position.state = "Optional"
-- }
--
- function updatePositon() {
- if (!routeModel.get(0))
- return;
diff --git a/recipes-demo/navigation/ondemandnavi_git.bb b/recipes-demo/navigation/ondemandnavi_git.bb
index 7785bcd1d..7bb26ac99 100644
--- a/recipes-demo/navigation/ondemandnavi_git.bb
+++ b/recipes-demo/navigation/ondemandnavi_git.bb
@@ -15,9 +15,8 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/ondemandnavi;protocol=ht
file://navigation.conf.kvm-demo \
file://navigation.conf.gateway-demo \
file://navigation.token \
- file://0001-Migrate-to-Qt-6.patch \
"
-SRCREV = "d6b883ef6bdb63fb501b03d64c9a32bc29b7b2c7"
+SRCREV = "5fdb5a29f54919a9ab6050f7408bfa31037a8d7d"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/navigation/tbtnavi_git.bb b/recipes-demo/navigation/tbtnavi_git.bb
index ec0c6f23a..c3a779214 100644
--- a/recipes-demo/navigation/tbtnavi_git.bb
+++ b/recipes-demo/navigation/tbtnavi_git.bb
@@ -32,7 +32,7 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/tbtnavi;protocol=https;b
file://tbtnavi.token \
file://kvm.conf \
"
-SRCREV = "f00c1e19f5c4cbcd185c8043f3062612bf1537f7"
+SRCREV = "7b54a3782d9981f849a88c023742a7d7f8be7232"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/phone/phone/0001-Migrate-to-Qt-6.patch b/recipes-demo/phone/phone/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 5777727a7..000000000
--- a/recipes-demo/phone/phone/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,189 +0,0 @@
-From e70943a45841b28da16fa8590dc3054401b47591 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:34:25 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- app/ContactsView.qml | 3 +--
- app/Dialer.qml | 14 +++++++-------
- app/Phone.qml | 6 +++---
- app/Recents.qml | 8 ++++----
- app/TabImageButton.qml | 11 ++++++-----
- 5 files changed, 21 insertions(+), 21 deletions(-)
-
-diff --git a/app/ContactsView.qml b/app/ContactsView.qml
-index 66f2199..e9def44 100644
---- a/app/ContactsView.qml
-+++ b/app/ContactsView.qml
-@@ -18,7 +18,6 @@
- import QtQuick 2.6
- import QtQuick.Layouts 1.3
- import QtQuick.Controls 2.0
--import QtQuick.Controls.Styles 1.4
- import AGL.Demo.Controls 1.0
- import PhoneNumber 1.0
-
-@@ -77,7 +76,7 @@ Item {
- anchors.leftMargin: 200
- spacing: 100
- Image {
-- source: model.modelData.photo ? model.modelData.photo : './images/HMI_ContactScreen_ImageHolder-01.svg'
-+ source: model.modelData.photo ? model.modelData.photo : 'qrc:/images/HMI_ContactScreen_ImageHolder-01.svg'
- Layout.preferredWidth: 160
- Layout.preferredHeight: 160
- }
-diff --git a/app/Dialer.qml b/app/Dialer.qml
-index 743c742..31fb8c8 100644
---- a/app/Dialer.qml
-+++ b/app/Dialer.qml
-@@ -100,7 +100,7 @@ Item {
- ImageButton {
- anchors.right: parent.right
- anchors.verticalCenter: parent.verticalCenter
-- offImage: './images/HMI_Phone_Back_Icon.svg'
-+ offImage: 'qrc:/images/HMI_Phone_Back_Icon.svg'
- onClicked: {
- if (number.text.length > 0)
- number.text = number.text.substring(0, number.text.length - 1)
-@@ -130,8 +130,8 @@ Item {
- ListElement { value: '#'; image: 'NumberSign' }
- }
- ImageButton {
-- onImage: './images/HMI_Phone_Button_%1_Active-01.svg'.arg(model.image)
-- offImage: './images/HMI_Phone_Button_%1_Inactive-01.svg'.arg(model.image)
-+ onImage: 'qrc:/images/HMI_Phone_Button_%1_Active-01.svg'.arg(model.image)
-+ offImage: 'qrc:/images/HMI_Phone_Button_%1_Inactive-01.svg'.arg(model.image)
- onClicked: {
- number.text += model.value
- }
-@@ -148,8 +148,8 @@ Item {
- ToggleButton {
- id: callButton
- Layout.alignment: Qt.AlignHCenter
-- onImage: './images/HMI_Phone_Hangup.svg'
-- offImage: './images/HMI_Phone_Call.svg'
-+ onImage: 'qrc:/images/HMI_Phone_Hangup.svg'
-+ offImage: 'qrc:/images/HMI_Phone_Call.svg'
- property var active: (number.text.length > 0) || (telephony.callState === "incoming") || (telephony.callState === "active")
- opacity: active ? 1 : 0.25
-
-@@ -182,7 +182,7 @@ Item {
- Layout.alignment: Qt.AlignHCenter
- active: false
- sourceComponent: ImageButton {
-- offImage: './images/HMI_Phone_Hangup.svg'
-+ offImage: 'qrc:/images/HMI_Phone_Hangup.svg'
- onClicked: {
- telephony.hangup()
- }
-@@ -203,7 +203,7 @@ Item {
- anchors.fill: parent
- spacing: 20
- Image {
-- source: './images/HMI_Phone_Contact_BlankPhoto.svg'
-+ source: 'qrc:/images/HMI_Phone_Contact_BlankPhoto.svg'
- }
- ColumnLayout {
- Label {
-diff --git a/app/Phone.qml b/app/Phone.qml
-index 6b38f77..6de54f2 100644
---- a/app/Phone.qml
-+++ b/app/Phone.qml
-@@ -41,19 +41,19 @@ ApplicationWindow {
- contentHeight: 160
-
- TabImageButton {
-- icon: "./images/ic_contacts_48px.svg"
-+ iconSource: "qrc:/images/ic_contacts_48px.svg"
- text: "Contacts"
- font.pixelSize: 50
- }
-
- TabImageButton {
-- icon: "./images/ic_schedule_48px.svg"
-+ iconSource: "qrc:/images/ic_schedule_48px.svg"
- text: "Recents"
- font.pixelSize: 50
- }
-
- TabImageButton {
-- icon: "./images/ic_dialpad_48px.svg"
-+ iconSource: "qrc:/images/ic_dialpad_48px.svg"
- text: "Dialpad"
- font.pixelSize: 50
- }
-diff --git a/app/Recents.qml b/app/Recents.qml
-index 5a516a1..f4d771b 100644
---- a/app/Recents.qml
-+++ b/app/Recents.qml
-@@ -25,11 +25,11 @@ Item {
-
- function log_icon(type) {
- if (type === RecentCall.MISSED) {
-- return './images/ic_call_missed_48px.svg'
-+ return 'qrc:/images/ic_call_missed_48px.svg'
- } else if (type === RecentCall.RECEIVED) {
-- return './images/ic_call_received_48px.svg'
-+ return 'qrc:/images/ic_call_received_48px.svg'
- } else if (type === RecentCall.DIALED) {
-- return './images/ic_call_made_48px.svg'
-+ return 'qrc:/images/ic_call_made_48px.svg'
- }
- }
-
-@@ -53,7 +53,7 @@ Item {
- Layout.preferredHeight: 150
- }
- Image {
-- source: './images/HMI_Phone_Contact_BlankPhoto.svg'
-+ source: 'qrc:/images/HMI_Phone_Contact_BlankPhoto.svg'
- Layout.preferredWidth: 150
- Layout.preferredHeight: 150
- }
-diff --git a/app/TabImageButton.qml b/app/TabImageButton.qml
-index 2176595..c707574 100644
---- a/app/TabImageButton.qml
-+++ b/app/TabImageButton.qml
-@@ -41,6 +41,7 @@ import QtQuick.Layouts 1.1
- import QtQuick.Controls 2.2
- import QtQuick.Controls.impl 2.2
- import QtQuick.Templates 2.2 as T
-+import QtQuick.Controls.Basic 2.2
-
- T.TabButton {
- id: control
-@@ -53,13 +54,13 @@ T.TabButton {
-
- padding: 6
-
-- property url icon
-+ property url iconSource
-
- contentItem: ColumnLayout {
- spacing: 20
- Image {
- Layout.alignment: Qt.AlignCenter
-- source: control.icon
-+ source: control.iconSource
- width: 96
- height: 96
-
-@@ -70,7 +71,7 @@ T.TabButton {
- font: control.font
- elide: Text.ElideRight
- opacity: enabled ? 1 : 0.3
-- color: !control.checked ? Default.textLightColor : control.down ? Default.textDarkColor : Default.textColor
-+ color: !control.checked ? Basic.textLightColor : control.down ? Basic.textDarkColor : Basic.textColor
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- }
-@@ -78,7 +79,7 @@ T.TabButton {
- background: Rectangle {
- implicitHeight: 160
- color: control.down
-- ? (control.checked ? Default.tabButtonCheckedPressedColor : Default.tabButtonPressedColor)
-- : (control.checked ? "transparent" : Default.tabButtonColor)
-+ ? (control.checked ? Basic.tabButtonCheckedPressedColor : Basic.tabButtonPressedColor)
-+ : (control.checked ? "transparent" : Basic.tabButtonColor)
- }
- }
diff --git a/recipes-demo/phone/phone_git.bb b/recipes-demo/phone/phone_git.bb
index 37330ff79..2c467e702 100644
--- a/recipes-demo/phone/phone_git.bb
+++ b/recipes-demo/phone/phone_git.bb
@@ -10,10 +10,8 @@ DEPENDS = "qtdeclarative libqtappfw gstreamer1.0"
PV = "1.0+git${SRCPV}"
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/phone;protocol=https;branch=${AGL_BRANCH} \
- file://0001-Migrate-to-Qt-6.patch \
- "
-SRCREV = "bfcc2fa194474a7bc317583072b62c977ae0fc14"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/phone;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "513de36724cfd7f56babc5ce47466f6e46737f4c"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style/0001-Migrate-to-Qt-6.patch b/recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index f00cb1420..000000000
--- a/recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From 6581ce20312ee15f35e00e29e363270616e96359 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:37:08 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- imports/qtquickcontrols2aglstyle/ProgressBar.qml | 2 +-
- imports/qtquickcontrols2aglstyle/Slider.qml | 2 +-
- imports/qtquickcontrols2aglstyle/qmldir | 10 ++++++++++
- .../qtquickcontrols2aglstyle.pro | 4 ++--
- 4 files changed, 14 insertions(+), 4 deletions(-)
- create mode 100644 imports/qtquickcontrols2aglstyle/qmldir
-
-diff --git a/imports/qtquickcontrols2aglstyle/ProgressBar.qml b/imports/qtquickcontrols2aglstyle/ProgressBar.qml
-index 6d5e3ae..fca0b8a 100644
---- a/imports/qtquickcontrols2aglstyle/ProgressBar.qml
-+++ b/imports/qtquickcontrols2aglstyle/ProgressBar.qml
-@@ -16,7 +16,7 @@
-
- import QtQuick 2.6
- import QtQuick.Templates 2.0 as T
--import QtGraphicalEffects 1.0
-+import Qt5Compat.GraphicalEffects
-
- T.ProgressBar {
- id: control
-diff --git a/imports/qtquickcontrols2aglstyle/Slider.qml b/imports/qtquickcontrols2aglstyle/Slider.qml
-index 5b6a495..02f4555 100644
---- a/imports/qtquickcontrols2aglstyle/Slider.qml
-+++ b/imports/qtquickcontrols2aglstyle/Slider.qml
-@@ -16,7 +16,7 @@
-
- import QtQuick 2.6
- import QtQuick.Templates 2.0 as T
--import QtGraphicalEffects 1.0
-+import Qt5Compat.GraphicalEffects
-
- T.Slider {
- id: root
-diff --git a/imports/qtquickcontrols2aglstyle/qmldir b/imports/qtquickcontrols2aglstyle/qmldir
-new file mode 100644
-index 0000000..e4e4417
---- /dev/null
-+++ b/imports/qtquickcontrols2aglstyle/qmldir
-@@ -0,0 +1,10 @@
-+module AGL
-+ApplicationWindow 1.0 ApplicationWindow.qml
-+Button 1.0 Button.qml
-+Label 1.0 Label.qml
-+Page 1.0 Page.qml
-+ProgressBar 1.0 ProgressBar.qml
-+Slider 1.0 Slider.qml
-+Switch 1.0 Switch.qml
-+TextField 1.0 TextField.qml
-+Tumbler 1.0 Tumbler.qml
-\ No newline at end of file
-diff --git a/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro b/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
-index 5a34485..ba24e9d 100644
---- a/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
-+++ b/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
-@@ -1,8 +1,8 @@
- TEMPLATE = aux
-
--DISTFILES = *.qml images
-+DISTFILES = *.qml images qmldir
-
- files.files = $$DISTFILES
--files.path = $$PREFIX$$[QT_INSTALL_QML]/QtQuick/Controls.2/AGL
-+files.path = $$PREFIX$$[QT_INSTALL_BINS]/AGL
-
- INSTALLS += files
diff --git a/recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style_git.bb b/recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style_git.bb
index 3ccee1210..75aed3aaf 100644
--- a/recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style_git.bb
+++ b/recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style_git.bb
@@ -7,10 +7,8 @@ DEPENDS = "qtdeclarative"
PV = "1.0+git${SRCPV}"
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/qtquickcontrols2-agl-style;protocol=https;branch=${AGL_BRANCH} \
- file://0001-Migrate-to-Qt-6.patch \
- "
-SRCREV = "c02692a3c20d9aed1192137a67d5be882c60e71f"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/qtquickcontrols2-agl-style;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "4059077eb23b6338e153036c602972cbbb46cbb8"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/radio/files/0001-Migrate-to-Qt-6.patch b/recipes-demo/radio/files/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 245324c4b..000000000
--- a/recipes-demo/radio/files/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-From a1a5be00d1e5ba0d857b9b83769a2c666c2be313 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:46:03 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- app/Radio.qml | 24 ++++++++++++------------
- 1 file changed, 12 insertions(+), 12 deletions(-)
-
-diff --git a/app/Radio.qml b/app/Radio.qml
-index bd67c84..d2950af 100644
---- a/app/Radio.qml
-+++ b/app/Radio.qml
-@@ -60,7 +60,7 @@ ApplicationWindow {
- anchors.right: parent.right
- anchors.bottom: controls.top
- fillMode: Image.Stretch
-- source: './images/HMI_Radio_Equalizer.svg'
-+ source: 'qrc:/images/HMI_Radio_Equalizer.svg'
- }
- Item {
- id: controls
-@@ -83,11 +83,11 @@ ApplicationWindow {
- Row {
- spacing: 20
- Image {
-- source: './images/FM_Icons_FM.svg'
-+ source: 'qrc:/images/FM_Icons_FM.svg'
- }
- // ToggleButton {
--// offImage: './images/FM_Icons_FM.svg'
--// onImage: './images/FM_Icons_AM.svg'
-+// offImage: 'qrc:/images/FM_Icons_FM.svg'
-+// onImage: 'qrc:/images/FM_Icons_AM.svg'
- // onCheckedChanged: {
- // radio.band = checked ? radio.amBand : radio.fmBand
- // radio.frequency = radio.minFrequency
-@@ -146,7 +146,7 @@ ApplicationWindow {
- }
-
- ImageButton {
-- offImage: './images/AGL_MediaPlayer_BackArrow.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_BackArrow.svg'
- Timer {
- running: parent.pressed
- triggeredOnStart: true
-@@ -162,7 +162,7 @@ ApplicationWindow {
- }
-
- ImageButton {
-- offImage: './images/AGL_MediaPlayer_ForwardArrow.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_ForwardArrow.svg'
- Timer {
- running: parent.pressed
- triggeredOnStart: true
-@@ -181,7 +181,7 @@ ApplicationWindow {
-
- ImageButton {
- id: play
-- offImage: './images/AGL_MediaPlayer_Player_Play.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_Player_Play.svg'
- onClicked: {
- radio.start()
- }
-@@ -190,7 +190,7 @@ ApplicationWindow {
- when: radio.playing
- PropertyChanges {
- target: play
-- offImage: './images/AGL_MediaPlayer_Player_Pause.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_Player_Pause.svg'
- onClicked: radio.stop()
- }
- }
-@@ -207,7 +207,7 @@ ApplicationWindow {
-
- ImageButton {
- id: scanBackwardBtn
-- offImage: './images/AGL_MediaPlayer_BackArrow.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_BackArrow.svg'
- states: [
- State {
- when: radio.playing
-@@ -224,7 +224,7 @@ ApplicationWindow {
-
- ImageButton {
- id: scanForwardBtn
-- offImage: './images/AGL_MediaPlayer_ForwardArrow.svg'
-+ offImage: 'qrc:/images/AGL_MediaPlayer_ForwardArrow.svg'
- states: [
- State {
- when: radio.playing
-@@ -284,9 +284,9 @@ ApplicationWindow {
- source: {
- switch (model.modelData.band) {
- case radio.fmBand:
-- return './images/FM_Icons_FM.svg'
-+ return 'qrc:/images/FM_Icons_FM.svg'
- case radio.amBand:
-- return './images/FM_Icons_AM.svg'
-+ return 'qrc:/images/FM_Icons_AM.svg'
- }
- return null
- }
diff --git a/recipes-demo/radio/radio_git.bb b/recipes-demo/radio/radio_git.bb
index 06112a046..c00cd68d5 100644
--- a/recipes-demo/radio/radio_git.bb
+++ b/recipes-demo/radio/radio_git.bb
@@ -14,9 +14,8 @@ SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/radio;protocol=https;bra
file://presets-ALS.conf \
file://presets-CES.conf \
file://presets-FOSDEM.conf \
- file://0001-Migrate-to-Qt-6.patch \
"
-SRCREV = "aef392d9df8bb5e4ada4b3f8f44016e8a839d154"
+SRCREV = "6a1ff73f3d561aa945f64460433498583d81dabb"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/settings/settings/0001-Migrate-to-Qt-6.patch b/recipes-demo/settings/settings/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index a265ef24d..000000000
--- a/recipes-demo/settings/settings/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,253 +0,0 @@
-From 9fb7185321d509d1e3a56fb47c0c135a06e42480 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:47:24 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- app/SettingPage.qml | 2 +-
- app/SettingsLauncher.qml | 2 +-
- app/bluetooth/Bluetooth.qml | 2 +-
- app/datetime/DateEdit.qml | 12 ++++++------
- app/datetime/DateTime.qml | 2 +-
- app/datetime/EditSeparator.qml | 2 +-
- app/datetime/TimeEdit.qml | 12 ++++++------
- app/main.cpp | 7 ++++---
- app/version/Version.qml | 2 +-
- app/wifi/Wifi.qml | 2 +-
- app/wired/Wired.qml | 2 +-
- 11 files changed, 24 insertions(+), 23 deletions(-)
-
-diff --git a/app/SettingPage.qml b/app/SettingPage.qml
-index d5858e8..b0a587d 100644
---- a/app/SettingPage.qml
-+++ b/app/SettingPage.qml
-@@ -52,7 +52,7 @@ Page {
- ImageButton {
- id: back
- anchors.bottom: parent.bottom
-- offImage: '../images/HMI_Settings_X.svg'
-+ offImage: 'qrc:/images/HMI_Settings_X.svg'
- onClicked: root.done()
- }
- }
-diff --git a/app/SettingsLauncher.qml b/app/SettingsLauncher.qml
-index 01c5433..14059d0 100644
---- a/app/SettingsLauncher.qml
-+++ b/app/SettingsLauncher.qml
-@@ -69,7 +69,7 @@ Page {
- }
- }
- Image {
-- source: '../images/HMI_Settings_DividingLine.svg'
-+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.top: parent.top
- visible: model.index > 0
-diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml
-index c1b2aa2..d5178df 100644
---- a/app/bluetooth/Bluetooth.qml
-+++ b/app/bluetooth/Bluetooth.qml
-@@ -199,7 +199,7 @@ SettingPage {
- anchors.left: parent.left
- anchors.leftMargin: 80
- height: 5
-- source: (bluetooth.power === true && pairedListView.count) ? '../images/HMI_Settings_DividingLine.svg':''
-+ source: (bluetooth.power === true && pairedListView.count) ? 'qrc:/images/HMI_Settings_DividingLine.svg':''
- }
- Text {
- id: detectedlabel
-diff --git a/app/datetime/DateEdit.qml b/app/datetime/DateEdit.qml
-index abfcfa9..cac55e8 100644
---- a/app/datetime/DateEdit.qml
-+++ b/app/datetime/DateEdit.qml
-@@ -30,7 +30,7 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
- onClicked: monthControl.currentIndex++
- }
- Tumbler {
-@@ -43,7 +43,7 @@ GridLayout {
- }
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
- onClicked: monthControl.currentIndex--
- }
-
-@@ -53,7 +53,7 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
- onClicked: dayControl.currentIndex++
- }
-
-@@ -91,13 +91,13 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
- onClicked: dayControl.currentIndex--
- }
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
- onClicked: yearControl.currentIndex++
- }
-
-@@ -116,7 +116,7 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
- onClicked: yearControl.currentIndex--
- }
- }
-diff --git a/app/datetime/DateTime.qml b/app/datetime/DateTime.qml
-index 06cbc8c..c58de69 100644
---- a/app/datetime/DateTime.qml
-+++ b/app/datetime/DateTime.qml
-@@ -31,7 +31,7 @@ SettingPage {
- Label { text: 'Date'}
- DateEdit {}
- Image {
-- source: '../images/HMI_Settings_DividingLine.svg'
-+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
- }
- Label { text: 'Time'}
- TimeEdit {}
-diff --git a/app/datetime/EditSeparator.qml b/app/datetime/EditSeparator.qml
-index e833b52..a58c809 100644
---- a/app/datetime/EditSeparator.qml
-+++ b/app/datetime/EditSeparator.qml
-@@ -30,7 +30,7 @@ ColumnLayout {
- Layout.fillHeight: true
- Layout.preferredHeight: 2
- Layout.alignment: Layout.Center
-- source: './images/HMI_Settings_TimeDate_Arrow_DividingLine.svg'
-+ source: 'qrc:/images/HMI_Settings_TimeDate_Arrow_DividingLine.svg'
- }
- }
- Item {
-diff --git a/app/datetime/TimeEdit.qml b/app/datetime/TimeEdit.qml
-index 69a049b..2db1403 100644
---- a/app/datetime/TimeEdit.qml
-+++ b/app/datetime/TimeEdit.qml
-@@ -30,7 +30,7 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
- onClicked: hourControl.currentIndex++
- }
- Tumbler {
-@@ -40,7 +40,7 @@ GridLayout {
- }
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
- onClicked: hourControl.currentIndex--
- }
-
-@@ -50,7 +50,7 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
- onClicked: minutesControl.currentIndex++
- }
-
-@@ -62,13 +62,13 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
- onClicked: minutesControl.currentIndex--
- }
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Up.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Up.svg'
- onClicked: ampmControl.currentIndex++
- }
-
-@@ -80,7 +80,7 @@ GridLayout {
-
- ImageButton {
- Layout.alignment: Layout.Center
-- offImage: './images/HMI_Settings_TimeDate_Arrow_Down.svg'
-+ offImage: 'qrc:/images/HMI_Settings_TimeDate_Arrow_Down.svg'
- onClicked: ampmControl.currentIndex--
- }
- }
-diff --git a/app/main.cpp b/app/main.cpp
-index bf82588..35b4c0e 100644
---- a/app/main.cpp
-+++ b/app/main.cpp
-@@ -78,9 +78,10 @@ int main(int argc, char *argv[])
- // active auto-connect that was in agl-service-bluetooth. The latter is
- // now dependent on this application being run until further re-architecting
- // takes place.
-- Network *network = new Network(true, context);
-- network->power(true, QString("bluetooth"));
-- context->setContextProperty("network", network);
-+ // Network *network = new Network(true, context);
-+ // network->power(true, QString("bluetooth"));
-+ QObject *network = new QObject(context); // prevent crash
-+ context->setContextProperty("network", network);
-
- engine.load(QUrl(QStringLiteral("qrc:/Settings.qml")));
-
-diff --git a/app/version/Version.qml b/app/version/Version.qml
-index 8d47ad5..1eaced7 100644
---- a/app/version/Version.qml
-+++ b/app/version/Version.qml
-@@ -40,7 +40,7 @@ SettingPage {
- clip: true
- Image {
- anchors.centerIn: parent
-- source: './images/agl_slide_0.png'
-+ source: 'qrc:/images/agl_slide_0.png'
- z: -1
- opacity: 0.5
- }
-diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
-index ba9d89e..9331d73 100644
---- a/app/wifi/Wifi.qml
-+++ b/app/wifi/Wifi.qml
-@@ -106,7 +106,7 @@ SettingPage {
- }
-
- Image {
-- source: '../images/HMI_Settings_DividingLine.svg'
-+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.top: parent.top
- anchors.topMargin: -15
-diff --git a/app/wired/Wired.qml b/app/wired/Wired.qml
-index 0a3e312..610d2c6 100644
---- a/app/wired/Wired.qml
-+++ b/app/wired/Wired.qml
-@@ -111,7 +111,7 @@ SettingPage {
- }
-
- Image {
-- source: '../images/HMI_Settings_DividingLine.svg'
-+ source: 'qrc:/images/HMI_Settings_DividingLine.svg'
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.top: parent.top
- anchors.topMargin: -15
diff --git a/recipes-demo/settings/settings_git.bb b/recipes-demo/settings/settings_git.bb
index 43cbcb009..0fc5c36ca 100644
--- a/recipes-demo/settings/settings_git.bb
+++ b/recipes-demo/settings/settings_git.bb
@@ -15,10 +15,8 @@ DEPENDS = " \
PV = "2.0+git${SRCPV}"
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/settings;protocol=https;branch=${AGL_BRANCH} \
- file://0001-Migrate-to-Qt-6.patch \
- "
-SRCREV = "26dc6a8c8847248450bf902124b7cd867e027274"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/settings;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "1b6527c1f74dfa97c899b6f3b21f612eac574753"
S = "${WORKDIR}/git"
diff --git a/recipes-demo/window-management-client-grpc/window-management-client-grpc/0001-Migrate-to-Qt-6.patch b/recipes-demo/window-management-client-grpc/window-management-client-grpc/0001-Migrate-to-Qt-6.patch
deleted file mode 100644
index 3562b64f6..000000000
--- a/recipes-demo/window-management-client-grpc/window-management-client-grpc/0001-Migrate-to-Qt-6.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 75a141871c45b7e940fbdc9f0c97c43734789074 Mon Sep 17 00:00:00 2001
-From: Indivara Weerasuriya <1806262-indivara@users.noreply.git.qt.io>
-Date: Wed, 24 Jul 2024 09:57:30 +0900
-Subject: [PATCH] Migrate to Qt 6
-
----
- meson.build | 2 +-
- src/meson.build | 10 +++++-----
- src/qml/Main.qml | 2 +-
- 3 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index beb933d..634714f 100644
---- a/meson.build
-+++ b/meson.build
-@@ -26,5 +26,5 @@ project (
- license: 'MIT/Expat',
- )
-
--qt5 = import('qt5')
-+qt = import('qt6')
- subdir('src')
-diff --git a/src/meson.build b/src/meson.build
-index b37e24f..5a59f13 100644
---- a/src/meson.build
-+++ b/src/meson.build
-@@ -1,7 +1,7 @@
- pkgconfig = import('pkgconfig')
- cpp = meson.get_compiler('cpp')
-
--qt5_dep = dependency('qt5', modules: ['Qml', 'Quick', 'Gui'])
-+qt_dep = dependency('qt6', modules: ['Qml', 'Quick', 'Gui'])
-
- grpcpp_reflection_dep = cpp.find_library('grpc++_reflection')
- protoc = find_program('protoc')
-@@ -31,7 +31,7 @@ grpc_deps = [
- ]
-
- window_mgnt_dep = [
-- qt5_dep,
-+ qt_dep,
- grpc_deps,
- ]
-
-@@ -40,14 +40,14 @@ window_mgnt_resources = [
- 'qml/qml.qrc'
- ]
-
--resource_files = qt5.compile_resources(sources: window_mgnt_resources)
-+resource_files = qt.compile_resources(sources: window_mgnt_resources)
-
- window_mgnt_src_headers = [
- 'AglShellGrpcClient.h',
- ]
-
--moc_files = qt5.compile_moc(headers: window_mgnt_src_headers,
-- dependencies: qt5_dep)
-+moc_files = qt.compile_moc(headers: window_mgnt_src_headers,
-+ dependencies: qt_dep)
- window_mgnt_src = [
- 'AglShellGrpcClient.cpp',
- 'main.cpp',
-diff --git a/src/qml/Main.qml b/src/qml/Main.qml
-index 151f3b8..5ddd2f7 100644
---- a/src/qml/Main.qml
-+++ b/src/qml/Main.qml
-@@ -10,6 +10,6 @@ Window {
-
- Image {
- anchors.fill: parent
-- source: './images/AGL_HMI_Blue_Background_NoCar-01.png'
-+ source: 'qrc:/images/AGL_HMI_Blue_Background_NoCar-01.png'
- }
- }
diff --git a/recipes-demo/window-management-client-grpc/window-management-client-grpc_git.bb b/recipes-demo/window-management-client-grpc/window-management-client-grpc_git.bb
index c864be897..d963f481e 100644
--- a/recipes-demo/window-management-client-grpc/window-management-client-grpc_git.bb
+++ b/recipes-demo/window-management-client-grpc/window-management-client-grpc_git.bb
@@ -12,10 +12,8 @@ DEPENDS = "qtbase qtdeclarative qtwayland \
PV = "2.0+git${SRCPV}"
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/window-management-client-grpc.git;protocol=https;branch=${AGL_BRANCH} \
- file://0001-Migrate-to-Qt-6.patch \
- "
-SRCREV = "cb7aa009ef9873967152e716fb01fecc30d401f7"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/window-management-client-grpc.git;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "ddb80d78079653871100e64ebd7fbe112a22bf4c"
S = "${WORKDIR}/git"
diff --git a/templates/feature/agl-demo-control-panel/50_bblayers.conf.inc b/templates/feature/agl-demo-control-panel/50_bblayers.conf.inc
index ccf05668e..a583f9785 100644
--- a/templates/feature/agl-demo-control-panel/50_bblayers.conf.inc
+++ b/templates/feature/agl-demo-control-panel/50_bblayers.conf.inc
@@ -2,7 +2,6 @@
#---------------------------------------------------
BBLAYERS =+ " \
${METADIR}/meta-agl-demo/meta-agl-demo-control-panel \
- ${METADIR}/meta-agl/meta-agl-kuksa-val \
"
#AGL_META_FILESYSTEMS = "${METADIR}/external/meta-openembedded/meta-filesystems"
diff --git a/templates/feature/agl-demo-control-panel/included.dep b/templates/feature/agl-demo-control-panel/included.dep
new file mode 100644
index 000000000..4d7582cde
--- /dev/null
+++ b/templates/feature/agl-demo-control-panel/included.dep
@@ -0,0 +1 @@
+agl-kuksa-val
diff --git a/templates/feature/agl-demo/50_bblayers.conf.inc b/templates/feature/agl-demo/50_bblayers.conf.inc
index 994b85c26..d2e1cced1 100644
--- a/templates/feature/agl-demo/50_bblayers.conf.inc
+++ b/templates/feature/agl-demo/50_bblayers.conf.inc
@@ -1,7 +1,6 @@
# This layer contains the WIP feature/demo code only
#---------------------------------------------------
BBLAYERS =+ " \
- ${METADIR}/meta-agl/meta-agl-kuksa-val \
${METADIR}/meta-agl-demo \
"
diff --git a/templates/feature/agl-demo/included.dep b/templates/feature/agl-demo/included.dep
index a81b5a431..449fc2a7c 100644
--- a/templates/feature/agl-demo/included.dep
+++ b/templates/feature/agl-demo/included.dep
@@ -1 +1 @@
-agl-pipewire agl-app-framework agl-selinux agl-flutter agl-weston-remoting
+agl-pipewire agl-app-framework agl-selinux agl-kuksa-val agl-flutter agl-weston-remoting