Install QT+Mingw+Eclipse in windows XP

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值