agl-demo-control-panel: fix resource compilation 24/30924/2 master
authorScott Murray <scott.murray@konsulko.com>
Wed, 16 Apr 2025 17:10:28 +0000 (13:10 -0400)
committerScott Murray <scott.murray@konsulko.com>
Thu, 17 Apr 2025 15:30:12 +0000 (15:30 +0000)
Updated path to rcc resource compiler in the agl-demo-control-panel
recipe so that compilation actually works.  This fixes loading of
images in the app.

Bug-AGL: SPEC-5417

Change-Id: Ic419199a8ced176a4e32f1366acfa0690884a8fd
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30924
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
ci-image-build: Jenkins Job builder account

recipes-demo/agl-demo-control-panel/agl-demo-control-panel_git.bb

index cdcbb4a..b8eeea8 100644 (file)
@@ -21,8 +21,7 @@ do_compile[noexec] = "1"
 
 do_install() {
     # compile qrc
-    # RECIPE_SYSROOT_NATIVE
-    ${RECIPE_SYSROOT_NATIVE}/usr/libexec/rcc -g python ${S}/assets/res.qrc | sed '0,/PySide6/s//PyQt6/' > ${S}/res_rc.py
+    rcc -g python ${S}/assets/res.qrc | sed '0,/PySide6/s//PyQt6/' > ${S}/res_rc.py
 
     # There's no provision for a Pythonic install into /usr/lib, so dump
     # into a directory /usr/libexec.