首页 > 代码库 > CentOS 7 下 Zeal 安装

CentOS 7 下 Zeal 安装

1. 安装Qt 5

  • 在QT 官网下载离线安装包:qt-opensource-linux-x64-5.7.0.run
  •  sudo chmod +x qt-opensource-linux-x64-5.7.0.run
  • sudo ./qt-opensource-linux-x64-5.7.0.run
  • echo "PATH=$PATH:/opt/Qt5.7.0/Tools/QtCreator/bin:/opt/Qt5.7.0/5.7/gcc_64/bin:/opt/Qt5.7.0/5.7/Src" >> ~/.bashrc
  • source ~/.bashrc

2. sudo yum install qt5-qtwebkit.x86_64 qt5-qtwebkit-devel.x86_64 qt5-qtbase-devel.x86_64 xcb-util-keysyms-devel.x86_64 bsdtar.x86_64 libarchive libarchive-devel.x86_64  qt5-qtx11extras.x86_64 qt5-qtx11extras-devel.x86_64

3. git clone https://github.com/zealdoc/zeal.git

4. cd zeal

5. qmake-qt5

6. make

7. sudo make install

  

CentOS 7 下 Zeal 安装