1. Download The qt5 SDK
Http://releases.qt-project.org/qt5/5.0.1/qt-linux-opensource-5.0.1-x86-offline.run
2. Installation
Sudo chmod 777 qt-linux-opensource-5.0.1-x86-offline.runsudo./qt-linux-opensource-5.0.1-x86-offline.run
The following error occurs:
./Qt-linux-opensource-5.0.1-x86-offline.run:/usr/lib/libstdc ++. so.6: Version 'glibcxx _ 3.4.15 'not found (required by./qt-linux-opensource-5.0.1-x86-offline.run)
3. Solution
This error occurs because glibcxx_3.4.15 is not in the current GCC version (gcc-4.8.0 compiled and installed yesterday. ViewGlibc
/Usr/lib/libstdc ++. so.6 | grep glibc
Will output the following content
Bytes
The version glibcxx_3.4.15 is not available. 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. decompress the file
Ar-x libstdc ++ 6_4.7.2-5_i386.debtar-zxvf data.tar.gz
The USR folder is displayed. Go to 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. Go to the/usr/lib folder and 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
Output
Bytes
It is found that glibcxx_3.4.15 has already appeared.
8. Continue the previous QT Installation
Sudo./qt-linux-opensource-5.0.1-x86-offline.run
Smooth installation...