I'm new to Yocto Project. The initial idea is to create a custom image based on core-image-full-cmdline
(this is with no windowing system) and generate a Qt5 SDK against this image.
So my target to be able to run Qt applications needs to have some headers & libraries installed, isn't ? What I must specify on my image recipe ?- Doing
$ bitbake my_image -c populate_sdk
will generatemy_image
with Qt5 support + SDK installer ?
As I understood, to get a Qt SDK the steps would be:
Download and add
meta-qt5
to bblayers.conf.Add to the image recipe against which you want to build the SDK:
inherit populate_sdk_qt5
- Configure the SDK build (add/remove features). <- Here I need help. I only want
EGLFS
support, no X11/Wayland and no Qtwebkit (and idk, maybe some other features that I'm not aware yet). bitbake my_image -c populate_sdk
My build got an error compiling wayland although I have this:
DISTRO_FEATURES_remove = "x11 wayland"
Bitbake
able to see all recipes intoQt5
layer. You have to add required packets int your recipe or into local.conf, like:qtbase
,qt3d
,qtserial
, etc... Then addinherit populate_sdk_qt5
to your recipe to makeYocto
able to install all components of Qt5 into SDK. – Beaverboardpopulate_sdk_qt5
does and I want to be able to configure the process. My build failed. I need to disable some features because I don't need X11/Wayland neither qtwebkit. Btw, referring to my 1st point, I discovered that Qt application can be deployed on targets without Qt libs installed on but I can bundle them so for now I won't install qt packages. I only need to get the SDK. – Sizarbitbake my_image
. It fails when I populate_sdk – Sizar