cancel
Showing results for 
Search instead for 
Did you mean: 

How to bitbake meta-toolchain-qt5

AGATT.1
Associate

Hello everyone,

I managed to build st-example-image-qt on my STM32MP157C-DK2 with some extra image features.

Now i just want to run bitbake meta-toolchain-qt5 but the build end up with errors that i can't solve.

I attached the output console when i try to build it.

Do you have any clue how to resolve this ?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
AGATT.1
Associate

I finally managed to solve it.

in /conf/local.conf i added

DISTO_FEATURES += " gstreamer opengl ld-is-gold directfb kde qt5-static"

Then i had some issue with qtquickcontrol2.bb and qtbase_git.bb and qtdeclarative

create qtbase_git.bb file if it doesn't exist in meta-qt5/recipes-qt/qt5

add this :

PACKAGECONFIG += "gles2 qtxmlpatterns qtquickcompiler"

Then i had issues with qtwebkit.bb.

=>Just delete it from your image. In my situation it was st-example-image-qt.bb

i built my image properly with

bitbake st-example-image-qt
bitbake meta-toolchain-qt5 -c populate_sdk

You should be able to see qmake in your default sdk installation folder

/opt/st/stm32mp1-disco/2.6-snapshot/sysroots/x86_64-openstlinux_eglfs_sdk-linux/usr/bin/qmake

View solution in original post

2 REPLIES 2
koan
Associate III

Hi,

this usually works out of the box. [1]

Try to figure out what you did in your "some extra image features".

[1] https://koansoftware.com/yocto-project-meta-layer-for-stm32mp1-by-koan/

AGATT.1
Associate

I finally managed to solve it.

in /conf/local.conf i added

DISTO_FEATURES += " gstreamer opengl ld-is-gold directfb kde qt5-static"

Then i had some issue with qtquickcontrol2.bb and qtbase_git.bb and qtdeclarative

create qtbase_git.bb file if it doesn't exist in meta-qt5/recipes-qt/qt5

add this :

PACKAGECONFIG += "gles2 qtxmlpatterns qtquickcompiler"

Then i had issues with qtwebkit.bb.

=>Just delete it from your image. In my situation it was st-example-image-qt.bb

i built my image properly with

bitbake st-example-image-qt
bitbake meta-toolchain-qt5 -c populate_sdk

You should be able to see qmake in your default sdk installation folder

/opt/st/stm32mp1-disco/2.6-snapshot/sysroots/x86_64-openstlinux_eglfs_sdk-linux/usr/bin/qmake