1.Install base dir: D:/Qt
2.unzip mingw-rt-3.15.2-gcc-4.4.rar to : D:/Qt/mingw
mingw-rt-3.15.2-gcc-4.4.rar is copied form qt-sdk-win-opensource-2010.02.1.exe
or choose mingw when install qt-win-opensource-4.6.2-mingw.exe, but path need change
3.qt-win-opensource-4.6.2-mingw.exe
• D:/Qt/4.6.2_for_mingw
• build for debug
cd D:/Qt/4.6.2_for_mingw/bin
qtvars.bat compile_debug
• add "D:/Qt/4.6.2_for_mingw/bin;D:/Qt/mingw/bin;" to system env.
4.install qt-creator-win-opensource-1.3.1.exe
D:/Qt/qtcreator-1.3.1
test with hello world program.
5.install Eclipse
• unzip eclipse-cpp-galileo-SR2-win32.zip to D:/Qt/eclipse-cpp-galileo-SR2-win32
test use helloworld.
i donot install this : //• run eclipse and install cdt-master-6.0.2.zip in elipse
6.install qt-eclipse-integration-win32-1.6.1.exe to : D:/Qt/qt-eclipse-integration-win32-1.6.1
• choose eclipse path: D:/Qt/eclipse-cpp-galileo-SR2-win32/eclipse
• choose mingw path: D:/Qt/mingw/bin
• Start menu: Start Eclipse with MinGW
• config qtsdk in eclipse
7.debug problem
[New thread 4788.0x5c8]
gdb: unknown target exception 0xc0000135 at 0x7c9666c6
You can't do that without a process to debug.
The program is not being run.
modify D:/Qt/qt-eclipse-integration-win32-1.6.1/start.bat as:
@echo off
rem
rem This file is generated by the installer
rem
echo Setting up environment...
echo -- Using MinGW in: D:/Qt/4.6.2_for_mingw/bin;D:/Qt/mingw/bin;
set PATH=D:/Qt/4.6.2_for_mingw/bin;D:/Qt/mingw/bin;D:/Qt/4.6.2_for_mingw/lib
set PATH=%PATH%;%SystemRoot%/System32
echo Starting eclipse...
"D:/Qt/eclipse-cpp-galileo-SR2-win32/eclipse/eclipse.exe" -clean
now I can debug qt program in eclipse.