Add Qt5 to Image - BenAxiamo/Qt5OnIntelEdison GitHub Wiki

Intel Edison runs on daisy branch (1.6.1) of Yocto: https://wiki.yoctoproject.org/wiki/Releases

  1. Edit edison-src/build/conf/bblayers.conf to add the meta-qt5 layer at the end: ${BSPDIR}/sources/meta-qt5 \
  • add a file qtbase_5.2.1.bbappend with content: PACKAGECONFIG += "gui sql-sqlite nofreetype noqpa" PACKAGECONFIG[gui] = "-gui,-no-gui" PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs" PACKAGECONFIG[gif] = ",-no-gif" PACKAGECONFIG[nofreetype] = "-no-freetype" PACKAGECONFIG[noqpa] = "-no-qpa-platform-guard"
  • bitbake qtbase

Edit the rootfs partition size /meta-intel-edison/meta-intel-edison-distro/recipes-core/images/edison-image.bb change size to: IMAGE_ROOTFS_SIZE = "1048576"

Add qt to the image IMAGE_INSTALL += "qtbase"

Bitbake toolchain 2 variants: bitbake meta-toolchain-qt5 -> Apply Patch: http://lists.openembedded.org/pipermail/openembedded-devel/2015-February/100389.html

bitbake edison-image -c populate_sdk

Install toolchain run tmp/deploy/sdk/poky-edison-eglibc-x86_64-edison-image-core2-32-toolchain-1.6.1.sh