Hello
I am trying to bulid Qt5 for custom iMX6ULL board with Yocto.
I'm using following layers[all warrior branch]:
BBLAYERS ?= " \
${YOCTOROOT}/poky/meta \
${YOCTOROOT}/poky/meta-poky \
${YOCTOROOT}/poky/meta-openembedded/meta-oe \
${YOCTOROOT}/poky/meta-openembedded/meta-networking \
${YOCTOROOT}/poky/meta-openembedded/meta-python \
${YOCTOROOT}/poky/meta-freescale \
${YOCTOROOT}/poky/meta-my-custom-bsp \
${YOCTOROOT}/poky/meta-qt5 \
"
I don't need any windowing system so in my distro.conf includes
DISTRO_FEATURES_remove = "x11 wayland directfb vulkan "
It is possible to bulid and run Qt5 apps with this settings for qtbase_git.bbappend in my layer:
PACKAGECONFIG_append = " no-opengl linuxfb accessibility fontconfig libinput xkbcommon"
PACKAGECONFIG_remove = " examples tests gbm eglfs gl gles2 kms"
but I am not sure if it's the best option because in /meta-freescale/blob/warrior/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
There is a line for iMX processors with PXP engine(IMX6ULL has no GPU):
PACKAGECONFIG_GL_imxpxp = "gles2"
So I assume that imx6ull should use gles2 backend.
Now when my qtbase_git.bbappend looks like:
PACKAGECONFIG_append = " linuxfb accessibility fontconfig libinput tslib xkbcommon"
PACKAGECONFIG_remove = " examples tests eglfs"
I've got following errors:
ERROR: Nothing PROVIDES 'virtual/egl' (but /yocto/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb DEPENDS on or otherwise requires it)
ERROR: Nothing PROVIDES 'virtual/libgles2' (but /yocto/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb DEPENDS on or otherwise requires it)
How to setup qtbase and DISTRO FEATURES/PREFFERED_PROVIDERS properly?