2020-04-14 02:57 AM
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.
Solved! Go to Solution.
2020-04-26 01:14 AM
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
2020-04-14 08:17 AM
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/
2020-04-26 01:14 AM
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