Enabling Qt5.x.x support by meta qt5
Christian Ege edited this page Mar 24, 2016
·
7 revisions
If you are interested in Qt5 support for your image it is recommended to read Qt for Embedded Linux first. I have tested Qt5 support on both the Neo and the Quad/Dual family without X11/Wayland.Instead of X11/Wayland we do use EGLFS support. This tutorial is based on the Qt5 on wandboard tutorial
Clone the meta-qt5 layer into your source dir
$ cd ${BSPDIR}/sources/
$ git clone -b jethro https://github.com/meta-qt5/meta-qt5.git
$ source ./setup-environment build
Index: build/conf/bblayers.conf
===================================================================
--- build.orig/conf/bblayers.conf
+++ build/conf/bblayers.conf
@@ -13,8 +13,12 @@ BBLAYERS = " \
${BSPDIR}/sources/meta-openembedded/meta-python \
${BSPDIR}/sources/meta-openembedded/meta-networking \
\
+ ${BSPDIR}/sources/meta-qt5 \
+ ${BSPDIR}/sources/meta-openembedded/meta-ruby \
+ \
${BSPDIR}/sources/meta-fsl-arm \
${BSPDIR}/sources/meta-fsl-arm-extra \
${BSPDIR}/sources/meta-fsl-demos \
+ \
${BSPDIR}/sources/meta-udoo \
"
Modify the conf/local.conf for EGLFS accelerated Framebuffer only
[...]
DISTRO_FEATURES_remove = "x11 wayland"
[...]
Build the Qt5 image
$ MACHINE=udooneo bitbake udoo-image-qt5
If you are planning to use Qt5.6 with it is recommended to use the jansa/master-5.6
branch.
$ cd ${BSPDIR}/sources/
git clone -b jansa/master-5.6 https://github.com/meta-qt5/meta-qt5/tree/jansa/master-5.6