CentOS QT5,PYQT5 Installation

Source: Internet
Author: User

One, siphttp://www.riverbankcomputing.com/software/sip/download two, Centos6.5 QT installation

1,centos Linux system must be pre-installed with 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 (package download link)

http://download.qt.io/official_releases/qt/5.4/5.4.0/(software media reference link)

3, Problem solving

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 "

Can see no glibcxx_3.4.15 this version, download a new version

http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_i386.deb

4. Extracting files

ar -x libstdc++6_4.7.2-5_i386.debtar -zxvf data.tar.gz

The USR folder appears. Enter the USR/LIB/I386-LINUX-GNU directory

cd usr/lib/i386-linux-gnu

5. Copy the libstdc++.so.6.0.17 file to the/usr/lib folder

sudo cp libstdc++.so.6.0.17 /usr/lib

6. Enter the/usr/lib folder to create a new soft link

sudo ln -sf libstdc++.so.6.0.17 libstdc++.so.6

7. Check Again

strings /usr/lib/libstdc++.so.6 | grep GLIBC

Key in "Qmake" is missing from my path error resolution

After installing the QT5, install the 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

Reference:

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.