Qt is one of the necessary tools for embedded development, so installation under Linux is particularly important. The following is the whole process of installing Qt5.8 under Ubuntu:
1. First download the Qt5.8 installation package from the Qt official website.
Download URL: http://download.qt.io/archive/qt/
Open the URL to display the following interface:
There are many Qt versions available for download here, this article chooses Qt5.8. Click to pop up the following interface:
There are installation packages for different functions. Choose qt-opensource-linux-x64-5.8.0.run (767MB) here to download.
2. Installation
cd to the directory where qt-opensource-linux-x64-5.8.0.run is located, enter the installation command in the command port: sudo ./qt-opensource-linux-x64-5.8.0.run
The following interface pops up:
Then install according to the default settings.
3. Install libgl1-mesa-dev
Enter the command in the command port: sudo apt-get install libgl1-mesa-dev to install.
At this point, Qt installation is complete, you can open the software programming.
Reference article: http://blog.csdn.net/yuechuxuan/article/details/78216735
Reprinted from: https://blog.csdn.net/wuweifeng_2017/article/details/78322249