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.deb tar -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