2. Install update gcc, g++ compiler, GDB debugger
#yum-y install gcc gcc-c++ gdb
#yum install g++
3. Installing the QT5.2 SDK development tool
A) Download the Qt5.2 SDK:
Http://releases.qt-project.org/qt5/5.2/qt-linux-opensource-5.2-x86-offline.run
b) Installation
#chmod 777 Qt-linux-opensource-5.2-x86-offline.run
#./qt-linux-opensource-5.0.1-x86-offline.run
4) Open QT Creator IDE tool, create a new QT Widgets application project, run the hint LDGL not found.
Installation (2 OpenGL core Libraries)
#yum Install Mesa-libgl-devel Mesa-libglu-devel
Once the installation is complete, the form interface appears successfully.
#yum Install Mesa-libgl-devel Mesa-libglu-devel
#yum install libgl1-mesa-dev libglu1-mesa-dev
Problems that may occur:
Installation completed according to the installed graphical interface, prompt error: glibcxx_3.4.15 not found
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
c) Unzip the file
#tar-X Libstdc++6_4.7.2-5_i386.deb
#tar-ZXVF data.tar.gz
Unzip the generated USR folder into the Usr/lib/i386-linux-gnu directory
#cd Usr/lib/i386-linux-gnu
Copy the libstdc++.so.6.0.17 file to the/usr/lib folder
#cp Libstdc++.so.6.0.17/usr/lib
Enter the/usr/lib folder to create a new soft link
#ln-SF libstdc++.so.6.0.17 libstdc++.so.6
Check Again
#strings/usr/lib/libstdc++.so.6 | grep GLIBC
found that the glibcxx_3.4.15 had appeared.
CentOS 6.5 Installation qt5.2