How to replace wayland-app-launch Qt application with native application using yocto recipes

Hi Team,

Since we are using tdx-reference-multimedia-image for Apalis iMX8 and Yocto Project dunfell to build this image.

I want to replace or stop default Qt getting launched on boot up. we want to stop this permanently from yocto build not using commands like “systemctl stop wayland-app-launch”.

I have tried to mimic the /oe-core/layers/meta-toradex-demos/recipes-graphics/wayland-app-launch$ wayland-terminal-launch_1.0.bb and wayland-app-launch.inc .
Added a new recipe to minicarecipes-graphics/wayland-app-launch with bbappend as attached recipe “recipe-graphics”.

Please suggest how to overwrite the wayland-app-launch.sh or delete it permanently usign yocto recipe /part of yocto build.

recipes-graphics.tar.xz (1.1 KB)

Hi @djewargi,

Thanks for posting to Toradex Community.

Since we are using tdx-reference-multimedia-image for Apalis iMX8 and Yocto Project dunfell to build this image.

tdx-reference-multimedia is a reference image, ideally one needs to create their own custom layer with the modification and recipe required for the application. You can get more detail following below article

I want to replace or stop default Qt getting launched on boot up. we want to stop this permanently from yocto build not using commands like “systemctl stop wayland-app-launch”.

tdx-reference-multimedia-image.bb is using APP_LAUNCH_WAYLAND variable to select which application to start. One can create their own recipe for application just like /layers/meta-toradex-demos/recipes-graphics/wayland-app-launch/wayland-qtdemo-launch-cinematicexperience_1.0.bb and override default application. That said we suggest you to follow recommended method of creating own layer of images and recipe for application and configuration for your specific product

I hope above information will help you with your question. If you have any doubt please feel free to write us back.
Best Regards
Ritesh Kumar