I'm trying to build a yocto image for x86/amd64 target with intel cpu. Meta-intel layer has given a bootable minimal x11 image-core-image-x11. I've to run a Pyside application on the target which would involve adding Qt5/6 support first and then adding PySide.
Following file results in bootable image but qmake command is not found
SUMMARY = "A full-featured basic X11 + PySide image."
LICENSE = "MIT"
IMAGE_FEATURES += " splash package-management x11-base"
DEPENDS += "qtbase"
COMPATIBLE_MACHINE = "intel-corei7-64"
inherit core-image qt6-qmake features_check
REQUIRED_DISTRO_FEATURES = "x11 ptest"
QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
Novice in yocto, trying to understand adding qt support without using boot2qt since boot2qt layer does not support MACHINE=intel-corei7-64
It is not logic to include
qt6-qmake
in an image recipe type.Image recipes
inherit
simage.bbclass
which disables all package recipe's tasks fromdo_fetch
todo_package_*
tasks.qt6-qmake
hasdo_configure
anddo_compile
for recipes that needs to runqmake
on a Qt project.In order to include
qmake
to your image:Remove
qt6-qmake
from theinherit
line.Remove
DEPENDS += "qtbase"
asDEPENDS
is for package recipes and not for image recipes.Add: