AnsweredAssumed Answered

Qt/QML Full screen app Development on iMX8

Question asked by Marion Douglas on Jan 15, 2019
Latest reply on Sep 17, 2019 by Marion Douglas

What is the best way to go about porting a Qt/QML application to iMX8M EVK board?

The Qt/QML app runs full screen and is the only GUI app.


Do I need to use the built-in Wayland-Weston? Or should I use QtWayland to build my own compositor? If so, what platform do I run my own QtWayland compositor on? Is there an underlying platform suitable for running this available - I'd like to be able to use the GPU.


I started by building

DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source -b build-wayland

bitbake fsl-image-qt5-validation-imx

and then built the SD Card and the SDK. Interesting that the sysroot in the SDK contains Qt Quick Controls 2, but the rootfs on the SD Card does not.


I managed to get some Qt Apps running under Wayland/Weston desktop when I connect a monitor to the HDMI port. I don't care about the desktop, because I need to run fullscreen.


Is this a good way to start? Or should I build Qt from scratch. Any tutorials you could point me to? I see a reasonable amount of information in the iMX6, but only lots of unanswered questions similar to mine for iMX8.


Thanks in advance for your help.