如何让目标图像在 Yocto 中包含 qmake?

How do I let target image includes qmake in Yocto?

我想用 yocto 添加 qmake 工具到目标图像。

所以,我在下面尝试过。

# 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 "

因此,它安装的是 Qt 库而不是 qmake。

请告诉我该怎么做...


我找到了如下!

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

我找到了如下!

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