Accelerated graphical output is also supported on the Qt framework, either directly on the framebuffer through EGLFS as we saw before, or using the X11 server available in core-image-sato. To build the Qt hello world source we introduced in the previous recipe but over X11, we only need to add the application to the target image with the following:
IMAGE_INSTALL_append = " qt-helloworld"
We can then build core-image-sato using the following command:
$ bitbake core-image-sato
Program and boot our target. Then, run the application with the following:
# export DISPLAY=:0
# /usr/bin/qt_hello_world
By default, Qt5 uses the xcb Qt platform abstraction to run against X11.