1、安装GCC编译器:
- yum -y install gcc gcc-c++
2、安装链接器:
- yum -y install mesa-libGL-devel mesa-libGLU-devel freeglut-devel
3、下载Qt
http://download.qt.io/archive... 下载后拷贝到/opt目录
4、安装Qt
- cd /opt
- chmod +x qt-opensource-linux-x64-5.8.0.run
- ./qt-opensource-linux-x64-5.8.0.run
完成!