Hello everyone,
I tried to launch Qt cinematicexperience demo on custom image based on core-image-base
.
My image installs:
- packagegroup-qt-lgpl
- packagegroup-tdx-cli
- packagegroup-tdx-graphical
- packagegroup-fsl-isp
- weston-xwayland
- wayland-qtdemo-launch-cinematicexperience
Image also appends weston
.
My custom distro appends wayland
feature.
It is working, after boot its creating weston compositor then starts the Qt demo app. My question is how change image recipe to use only eglfs for launching the app without wayland/weston utility? Those things makes booting to app much longer i guess. I wanted to test eglfs because i guess that weston/wayland takes more time to boot to app and i think it is easly to handle with when running app script as a init.
To achieve eglfs run i tried to simple comment weston/wayland stuff and add to distro eglfs feature. I also made qtbase_%.bbappend
recipe which appends PACKAGECONFIG
with gl directfb eglfs gles2
. After running ./QtCinematicExperience -platform eglfs
got:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
EGL: Warning: No default display support on wayland
Could not open egl display
Aborted
Verdin iMX8M Plus Quad 4GB IT V1.1A with Dahlia Carrier Board
P.S. My concept is to boot Qt app ASAP without Boot2Qt utility.