I would need to generate an image using Yocto for a Colibri T20 board in order to run Qt5 (at least Qt5.5) applications.
Before getting into the recipes, I would like to know:
Is it possible to run Qt5 app on T20 using eglfs (wihout X11 or Wayland) ?
If not, is it complicated to have an image with Qt5 and X11 ? I have currently a custom core-image-x11 (with gtk+3 installed). Can I generate a dedicated version of Qt for this configuration ?
I have currently a custom core-image-x11 (with gtk+3 installed). Can I generate a dedicated version of Qt for this configuration ?
While GTK+ and Qt are two competing graphical UI stacks one could of course build an image which would support both and therefore allow running both types of applications. I guess either you extend your current core-image-x11 to include Qt 5 as well or you start off using our angstrom-qt5-x11 variant and add gtk+3 on top of it.
Thanks for your feedback.
I started following the first article. I just wanted to add support to Qt5 using my custom image recipe (core-image.kts.bb) as follow:
SUMMARY = "A core-image based image with X11 support and gtk3 "
LICENSE = "MIT"
inherit core-image distro_features_check
IMAGE_FEATURES_append = " splash package-management ssh-server-dropbear x11-base"
REQUIRED_DISTRO_FEATURES = " x11 opengl"
IMAGE_INSTALL_append = " glibc-staticdev libstdc++ gtk+3 xinput-calibrator "
**IMAGE_INSTALL_append = " qtbase qtbase-fonts qtbase-plugins qt5-x11-free-systemd cinematicexperience** "
For this purpose, I have just added the last line.
I launched bitbake -k core-image-kts
But I get the following errors and I don’t know howx to get rid of them.
ERROR: Nothing RPROVIDES 'qtbase-fonts' (but /home/kai/yocto/poky-toradex/meta-pga/recipes-core/images/core-image-kts.bb RDEPENDS on or otherwise requires it)
Missing or unbuildable dependency chain was: ['qtbase-fonts']
ERROR: Nothing RPROVIDES 'qt5-x11-free-systemd' (but /home/kai/yocto/poky-toradex/meta-pga/recipes-core/images/core-image-kts.bb RDEPENDS on or otherwise requires it)
Missing or unbuildable dependency chain was: ['qt5-x11-free-systemd']
ERROR: Nothing RPROVIDES 'core-image-kts'
ERROR: No eligible RPROVIDERs exist for 'core-image-kts'