Centos7 安装Qt

来源:互联网 发布:windows找不到文件c 编辑:程序博客网 时间:2024/06/06 11:03

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 /optchmod +x qt-opensource-linux-x64-5.8.0.run./qt-opensource-linux-x64-5.8.0.run

完成!