qtyoctoqmakepetalinux

How do I let target image include qmake in Yocto?


I'd like to add qmake tool to target image with yocto.

So, I've tried the below:

# build/conf/local.conf
EXTRA_IMAGE_FEATURES += "dev-pkgs"
EXTRA_IMAGE_FEATURES += "tools-sdk"
EXTRA_IMAGE_FEATURES += "petalinux-qt"
EXTRA_IMAGE_FEATURES += "petalinux-qt-extended"

IMAGE_INSTALL_append = " qttools qttools-dev qttools-tools "
IMAGE_INSTALL_append = " packagegroup-qt5-toolchain-target "

As a result, it installed Qt libraries not qmake.


Solution

  • I found it as below!

    IMAGE_INSTALL_append = " qtbase-dev qtbase-mkspecs qtbase-tools "