Qt 5.15.2 can run on various backends. The EGLFS and Wayland backends are widely used. Here, we will talk about how to build and integrate Qt 5.15.2 with EGLFS and Wayland backends support based on VLP 3.0.6.
1.1)Modify meta-qt5/recipes-qt/qt5/qtbase_git.bb:
...
Note: The Qt 5.6.3 with EGLFS backend support is ready. If you only need Qt 5.6.3, you can skip the following steps.
2.1) Get the Qt source code
...
If everything is OK, you will get the built out binary Qt 5.15.2 in gzip file: qt-5.15.2-eglfs-wayland-build.tar.gz. The build process may take several hours.
3.1) Install
Decompress qt-5.15.2-eglfs-wayland-build.tar.gzto some directory of the MPU target filesystem(Not ubuntu PC). Here we use /usr/share/qt-5.15.2.
...