cancel
Showing results for 
Search instead for 
Did you mean: 

X-LINUX-QT Starter Package Generation

furky
Associate II

On the X-LINUX-QT Starter Package Wiki page it states "The X-LINUX-QT expansion package compatible with ecosystem release v6.1.0 provides only the Distribution package, which can be used to generate the Starter and Developer packages".

Has anyone generated the QT starter package in v6.1.0?

The image produced by "bitbake st-image-qt package-index" launches with the GTK starter package, not the QT starter package.

1 ACCEPTED SOLUTION

Accepted Solutions
furky
Associate II

Two modifications are required to generate X-LINUX-QT Starter Package from the distribution.

Append

IMAGE_INSTALL:append = " stlauncher"

to the local.conf file located inside the build directory/conf.

 

Then modify the meta-st/meta-st-x-linux-qt/recipes-st-launcher/stlauncher/files/start_up_stlauncher.sh file to force QT_QPA_PLATFORM=wayland. By the default QT_QPA_PLATFORM is set in the environment variables as QT_QPA_PLATFORM=linuxfb.

View solution in original post

3 REPLIES 3
jumman_JHINGA
Senior III

I’ve tried generating the Qt Starter package on v6.1.0 starting from the Distribution package, as mentioned in the wiki.

In practice, the process is very time-consuming, and in my case the build consistently fails around 75–80% completion with missing file / dependency errors during the BitBake process. I haven’t been able to complete a clean build yet

furky
Associate II

Two modifications are required to generate X-LINUX-QT Starter Package from the distribution.

Append

IMAGE_INSTALL:append = " stlauncher"

to the local.conf file located inside the build directory/conf.

 

Then modify the meta-st/meta-st-x-linux-qt/recipes-st-launcher/stlauncher/files/start_up_stlauncher.sh file to force QT_QPA_PLATFORM=wayland. By the default QT_QPA_PLATFORM is set in the environment variables as QT_QPA_PLATFORM=linuxfb.

furky
Associate II

A simpler solution is to ensure the machine variable is the exact board that you have, not the generic stm32mp1 or stm32mp2 values.

 

e.g. For the stm32mp257f-DK board:

DISTRO=openstlinux-weston MACHINE=stm32mp25-disco source layers/meta-st/scripts/envsetup.sh