1. 程式人生 > >Linux CentOS7 安裝 Qt 5.9.2

Linux CentOS7 安裝 Qt 5.9.2

linu htm 技術 doc 環境變量 ima down blog 配置

Linux CentOS7 安裝 Qt 5.9.2

參考鏈接 http://doc.qt.io/qt-5/linux.html

sudo yum groupinstall "C Development Tools and Libraries"
sudo yum install libgl libgl-devel
sudo yum install mesa-libGL-devel mesa-libGLU-devel freeglut-devel
sudo yum install libxcb libxcb-devel libXrender libXrender-devel xcb-util-wm xcb-util-wm-devel xcb-util xcb-util-devel xcb-util-image xcb-util-image-devel xcb-util-keysyms xcb-util-keysyms-devel

Linux 安裝包下載地址
http://download.qt.io/archive/qt/

wget http://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-linux-x64-5.9.2.run
chmod +x qt-opensource-linux-x64-5.9.2.run
./qt-opensource-linux-x64-5.9.2.run

技術分享

技術分享

技術分享

技術分享

技術分享

技術分享

技術分享

技術分享

技術分享

技術分享

修改ldconfig的配置文件內容。執行ldconfig 刷新動態庫緩存。

技術分享

設置PATH環境變量

技術分享

Linux CentOS7 安裝 Qt 5.9.2