centos qt5,PyQt5 installation

來源:互聯網
上載者:User

標籤:

一、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.debtar -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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.