agl-demo-control-panel: fix resource compilation 25/30925/2 salmon
authorScott Murray <scott.murray@konsulko.com>
Wed, 16 Apr 2025 18:54:00 +0000 (14:54 -0400)
committerScott Murray <scott.murray@konsulko.com>
Thu, 17 Apr 2025 15:30:34 +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: I6ea0080542e96a841361e172863add40b1e89cc1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30925
ci-image-boot-test: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
meta-agl-demo-control-panel/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.