根据官方文档一步步操作即可
-
DownLoad :
wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run
-
Install:
chmod +x qt-opensource-linux-x64-5.7.0.run
./qt-opensource-linux-x64-5.7.0.run
sudo apt-get install build-essential
sudo apt-get install libfontconfig1
-
Install OpenGL libraries:
sudo apt-get install mesa-common-dev
sudo apt-get install libglu1-mesa-dev -y
-
Configure compiler
Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.
网友评论