• 7032阅读
  • 3回复

Eclipse qt 环境配置 兄弟们帮新手看看哪里出问题了 [复制链接]

上一主题 下一主题
离线ericiswho
 
只看楼主 倒序阅读 楼主  发表于: 2010-05-10
Eclipse 是网上下载的 eclipse-cpp-galileo-SR2-win32.zip 直接解压D:\Qt\eclipse
Qt 是 qt-sdk-win-opensource-2010.02.1.exe 安装在D:\Qt\2010.02.1
MinGW-5.1.6.exe 安装在D:\Qt\MinGW
qt-eclipse-integration-win32-1.6.1.exe 安装在D:\Qt\qt-eclipse-integration-1.6.1 ,安装的时候选择Eclipse和MinGW

安装后设置了环境变量
QTDIR
MINGW_PATH
path里面加了 ;D:\Qt\2010.02.1\qt\bin;C:\Program Files\Nokia\PC Connectivity Solution\;%MINGW_PATH%\bin;%MINGW_PATH%\libexec\gcc\mingw32\3.4.5;

然后启动Eclipse ,设置Qt version

然后新建项目 Qt Gui Project
系统自动Makefile,然后项目名称边上就出现了一个红叉叉。
Problem里面提示7个错误:

Description Resource Path Location Type
make: *** [debug] Error 2 Test line 0 C/C++ Problem

Description Resource Path Location Type
make[1]: *** [debug\Test.exe] Error 1 Test line 0 C/C++ Problem

Description Resource Path Location Type
undefined reference to `__gxx_personality_v0' Test line 0, external location: d:\Qt\2010.02.1\qt\lib\libqtmaind.a(qtmain_win.o):qtmain_win.cpp C/C++ Problem

Description Resource Path Location Type
undefined reference to `_Unwind_Resume' Test line 135, external location: C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain\qtmain_win.cpp C/C++ Problem

Description Resource Path Location Type
undefined reference to `_Unwind_Resume' Test line 482, external location: d:\Qt\2010.02.1\qt\lib\libqtmaind.a(qtmain_win.o):C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\corelib\tools\qvector.h C/C++ Problem

Description Resource Path Location Type
undefined reference to `_Unwind_Resume' Test line 483, external location: d:\Qt\2010.02.1\qt\lib\libqtmaind.a(qtmain_win.o):C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\corelib\tools\qvector.h C/C++ Problem

Description Resource Path Location Type
undefined reference to `_Unwind_Resume' Test line 93, external location: C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain\qtmain_win.cpp C/C++ Problem


兄弟们帮我看看什么问题啊,烦了2天了。。
离线ericiswho
只看该作者 1楼 发表于: 2010-05-11
没人碰过这种问题吗??
离线ericiswho
只看该作者 2楼 发表于: 2010-05-17
奇怪,能用了。。
离线chengly
只看该作者 3楼 发表于: 2011-10-19
mingw版本的问题,用SDK自带的mingw就可以了。
快速回复
限100 字节
 
上一个 下一个