Choosing a graphical backend - FrankBau/meta-marsboard-bsp GitHub Wiki
There are serveral possibilities to configure a graphical backend for the target:
- X11
- Wayland
- framebuffer
Each graphical backend has its pros and cons. We favor a single full screen app (like a Qt5 app) which calls for framebuffer.
The graphical backend must be configured in conf/local.conf because many recipes will configure their applications for a specific graphical backend. Add a line to local.conf (if not present):
DISTRO_FEATURES_remove = "x11 wayland"
If the DISTRO_FEATURES were changed during the last step, a clean build is necessary. It is recommended that you setup a new, empty build folder say "build_fb" in your build environment parallel to the existing build folder:
source setup-environment build_fb
This allows to share the same download folder for different builds.
If you have chosen framebuffer, you might probably want to disable the framebuffer console (prompt on the screen), see Qt5 on MarS Board.