標籤:
一、SIPhttp://www.riverbankcomputing.com/software/sip/download 二、Centos6.5 qt 安裝
1,centos linux系統必須預先以安裝x Server(KDE or GNOME)
2,wget http://download.qt-project.org/official_releases/qt/5.4/5.4.0/qt-opensource-linux-x64-5.4.0.run (軟體包下載連結)
http://download.qt.io/official_releases/qt/5.4/5.4.0/ (軟體介質參考連結)
3,問題解決
Error during installation process (qt.54.gcc_64):
Execution failed(Unexpected exit code: 1): "/opt/Qt5.4.0//Tools/QtCreator/bin/sdktool addQt --id qt.54.gcc_64 --name Qt %{Qt:Version} GCC 64bit --type Qt4ProjectManager.QtVersion.Desktop --qmake /opt/Qt5.4.0/5.4/gcc_64/bin/qmake"
Error during installation process (qt.54.gcc_64):
Execution failed(Unexpected exit code: 1): "/opt/Qt5.4.0//Tools/QtCreator/bin/sdktool addQt --id qt.54.gcc_64 --name Qt %{Qt:Version} GCC 64bit --type Qt4ProjectManager.QtVersion.Desktop --qmake /opt/Qt5.4.0/5.4/gcc_64/bin/qmake"
可以看到沒有GLIBCXX_3.4.15這個版本,下載一個新版本
http: //ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_i386.deb |
4.解壓檔案
ar -x libstdc++6_4.7.2-5_i386.deb tar -zxvf data.tar.gz |
出現usr檔案夾。進入usr/lib/i386-linux-gnu目錄
cd usr/lib/i386-linux-gnu |
5.將libstdc++.so.6.0.17檔案複製到 /usr/lib 檔案夾下面
sudo cp libstdc++.so.6.0.17 /usr/lib |
6.進入/usr/lib檔案夾下,建立新的軟連結
sudo ln -sf libstdc++.so.6.0.17 libstdc++.so.6 |
7.再查看一次
strings /usr/lib/libstdc++.so.6 | grep GLIBC |
關鍵在“qmake” is missing from my PATH錯誤解決
三、安裝完Qt5之後,再安裝PyQt5:
http://www.riverbankcomputing.co.uk/software/pyqt/download5
python configure.py --qmake /usr/local/Cellar/qt5/5.3.1/bin/qmake
make
make install
參考:
PyQt: http://www.pythoncentral.io/install-pyside-pyqt-on-windows-mac-linux/
http://fr.wikibooks.org/wiki/PyQt/Installation/Linux
http://www.time-eater.net/?p=302
http://www.jianshu.com/p/7mqAmr
centos qt5,PyQt5 installation