1. Download Software
Bytes
Ii. Software Installation
Run the MinGW-5.1.6 first, and my installation directory is D:/mingw
After installing qt-win-opensource-4.6.0-mingw.exe, you are required to select the mingw installation directory during the installation process. If there is a problem when selecting the installation directory, you are prompted. Finally, you cannot choose D:/mingw. The answer is to continue the installation.
3. Compile qt4.6.0
Run QT 4.6.0 (build debug libraries) in the Start menu to compile the debug Runtime Library.
In this step, you must delete the system environment variables include and Lib (if any). If you do not delete the compilation, an error will be reported about 20 minutes later.
It took me 2 hours to compile
4. install and configure eclipse
First, extract eclipse-cpp-galileo-sr1-win32.zip, and decompress it to the D:/eclipse directory.
Then run qt-eclipse-integration-win32-1.6.0.exe.
Finally, configure eclipse, window-> perferences-> QT to add qt4.6.0
C/C ++-> make-> makefile Editor-setting select GNU make new D:/mingw/bin
After the installation is complete, I used to use qt4.5.0 to install all projects before SDK 2009.03. I needed to re-run qmake under the project and then run it normally.