一、Qt5.11.0安装
1.Qt5.11安装包下载
官网链接:http://download.qt.io/archive/qt/5.11/
2.预安装必要的库
首先安装mesa-libGL-devel,mesa-libGLU-devel,freeglut-devel
yum -y install mesa-libGL-devel mesa-libGLU-devel freeglut-devel
安装C++库
yum install gcc-c++
g++ -v (查看g++是否安装成功)
3.安装文件授权
chmod +x qt-opensource-linux-x64-5.11.0.run
4.执行安装文件
./qt-opensource-linux-x64-5.11.0.run
5.界面化安装
根据需要选择组件安装
二、Qt5.11.0的相关配置
1.修改ldconfig配置文件内容
(1)查看配置文件内容
cat /etc/ld.so.conf