qtquickcontrols2-agl-style: remove QT_QUICK_CONTROLS_STYLE setting 54/27054/1
authorScott Murray <scott.murray@konsulko.com>
Tue, 21 Dec 2021 14:31:06 +0000 (09:31 -0500)
committerScott Murray <scott.murray@konsulko.com>
Tue, 21 Dec 2021 15:01:45 +0000 (10:01 -0500)
QT_QUICK_CONTROLS_STYLE was being set with a mechanism specific to
the old application framework, remove the now redundant snippet that
was doing so.  Setting the style will be handled by the applications
that require it going forward.

Bug-AGL: SPEC-4182

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I3f4303c1d8bbb9df85071668db85d0c649f5bfc3

recipes-demo/qtquickcontrols2-agl-style/qtquickcontrols2-agl-style_git.bb

index 04708b9..c4ce1b9 100644 (file)
@@ -14,11 +14,6 @@ S = "${WORKDIR}/git"
 
 inherit qmake5
 
-do_install:append:class-target() {
-    install -d ${D}/${sysconfdir}/afm/unit.env.d
-    echo "QT_QUICK_CONTROLS_STYLE=AGL" > ${D}${sysconfdir}/afm/unit.env.d/qtquickcontrols2-style
-}
-
 FILES:${PN} += "${OE_QMAKE_PATH_QML}/QtQuick/Controls.2/AGL/*"
 
 RDEPENDS:${PN} += " \