QT is a commonly used UI program development tool on Linux systems today.
For debian on R1, there are two ways to develop QT programs. The first one is the traditional cross-compile method, i.e., QT Creator runs on the PC side, and then the program is put on the board to run after finishing the cross-compile. The second is to install QT Creator directly on the board. Since the debian on the board can be easily configured using apt, the second way is used.
The R1 debian already has a GUI environment, such as openGL, on which QT depends. Therefore, you don't need to configure it, just execute the following commands.
sudo su
apt-get update
apt-get install gcc g++
apt-get install aptitude
aptitude install build-essential
apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
apt-get install qt5*
apt-get install qtcreator
After installation, you can open Qt Creator by clicking Start - Development - Qt Creator on the desktop of the board, and the rest of the operation is the same as that of Qt Creator on the PC, so I won't repeat it here.