Qt User Guide
Install Qt5 development environment
Install C/C++ compilation environment
$ sudo apt-get update
$ sudo apt-get install build-essential
Install Qt5 development tool
$ sudo apt-get install qtbase5-gles-dev qtchooser qt5-qmake qtbase5-dev-tools
Check the installation of Qt version.
$ qmake -v
QMake version 3.1
Using Qt version 5.15.13 in /usr/lib/riscv64-linux-gnu
Install Qt5 wayland plugin
$ sudo apt-get install qtwayland5
Configure Qt5 backend display service
$ export QT_QPA_PLATFORM=wayland
Build and run Qt5 program
Download base-opensource-src-gles
$ apt-get source qtbase-opensource-src-gles
$ tree qtbase-opensource-src-gles-5.15.13+dfsg -L 1
qtbase-opensource-src-gles-5.15.13+dfsg
├── bin
├── config_help.txt