centos7 安装 QT


一、先安装桌面

yum groupinstall 'KDE' 'X Window System'
systemctl set-default graphical.target
reboot

二、下载并且安装QT

QT 下载地址:下载

下载好对应版本。比如qt-opensource-linux-x64-5.10.0.run

chmod +x qt-opensource-linux-x64-5.10.0.run
./qt-opensource-linux-x64-5.10.0.run  //安装

 

三、安装对应运行环境

yum install  gcc
yum install  gcc-c++
yum install  make
yum install mesa-libGL-devel mesa-libGLU-devel
yum install freeglut-devel

 

You may also like...

想说点什么吗?

avatar
  Subscribe  
提醒