hi, Have you tried to compile without eclipse? You have to open a command window from the shortcut created with the Qt installation, and go to the folder of the source code Then just do: qmake -project qmake mingw32-make
If the problem persists it has nothing to do with eclipse. By the way it seems like you have a copy of mingw that is not the one that comes with qt, it uses to be under the qt folder. The problem could be that you have to copies of mingw, and the path points to one that is not compatible with the qt version. 2010/10/20 Nuria Sánchez Almodóvar <n...@gatv.ssr.upm.es> > Good morning, > > I have already configured Eclipse to run C++ applications. In addition I > have installed the qt-win-opensource-4.7.0-mingw.exe and > qt-eclipse-integration-win32-1.6.1.exe. > > However, I got the following error when I try to build a simple > Helloworld Qt GUI project: > > mingw32-make debug > mingw32-make -f Makefile.Debug > mingw32-make[1]: Entering directory `C:/UPM/workspace/HelloWorldQt' > g:\Qt\4.7.0\bin\uic.exe helloworldqt.ui -o ui_helloworldqt.h > g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE > -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB > -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"g:\Qt\4.7.0\include\QtCore" > -I"g:\Qt\4.7.0\include\QtGui" -I"g:\Qt\4.7.0\include" > -I"g:\Qt\4.7.0\include\ActiveQt" -I"debug" -I"." > -I"g:\Qt\4.7.0\mkspecs\default" -o debug\main.o main.cpp > g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE > -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB > -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"g:\Qt\4.7.0\include\QtCore" > -I"g:\Qt\4.7.0\include\QtGui" -I"g:\Qt\4.7.0\include" > -I"g:\Qt\4.7.0\include\ActiveQt" -I"debug" -I"." > -I"g:\Qt\4.7.0\mkspecs\default" -o debug\helloworldqt.o helloworldqt.cpp > G:\Qt\4.7.0\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL > -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN > -I"g:\Qt\4.7.0\include\QtCore" -I"g:\Qt\4.7.0\include\QtGui" > -I"g:\Qt\4.7.0\include" -I"g:\Qt\4.7.0\include\ActiveQt" -I"debug" -I"." > -I"g:\Qt\4.7.0\mkspecs\default" -D__GNUC__ -DWIN32 helloworldqt.h -o > debug\moc_helloworldqt.cpp > g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE > -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB > -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"g:\Qt\4.7.0\include\QtCore" > -I"g:\Qt\4.7.0\include\QtGui" -I"g:\Qt\4.7.0\include" > -I"g:\Qt\4.7.0\include\ActiveQt" -I"debug" -I"." > -I"g:\Qt\4.7.0\mkspecs\default" -o debug\moc_helloworldqt.o > debug\moc_helloworldqt.cpp > g++ -enable-stdcall-fixup -Wl,-enable-auto-import > -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o > debug\HelloWorldQt.exe debug/main.o debug/helloworldqt.o > debug/moc_helloworldqt.o -L"g:\Qt\4.7.0\lib" -lmingw32 -lqtmaind > -lQtGuid4 -lQtCored4 > g:\Qt\4.7.0\lib/libqtmaind.a(qtmain_win.o): En la función `winm...@16': > C:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:93: > referencia a `_Unwind_Resume' sin definir > C:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:135: > referencia a `_Unwind_Resume' sin definir > > g:\Qt\4.7.0\lib/libqtmaind.a(qtmain_win.o):C:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:483: > referencia a `_Unwind_Resume' sin definir > > g:\Qt\4.7.0\lib/libqtmaind.a(qtmain_win.o):C:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:484: > referencia a `_Unwind_Resume' sin definir > g:\Qt\4.7.0\lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp:(.eh_frame+0x12): > referencia a `__gxx_personality_v0' sin definir > collect2: ld returned 1 exit status > mingw32-make[1]: *** [debug\HelloWorldQt.exe] Error 1 > mingw32-make[1]: Leaving directory `C:/UPM/workspace/HelloWorldQt' > mingw32-make: *** [debug] Error 2 > > Please, any help will be welcome! Thank you in advance. > > Best Regards, > Nuria > > -- > > Nuria Sánchez Almodóvar > n...@gatv.ssr.upm.es > > g...@tv - Grupo de Aplicación de Telecomunicaciones Visuales > Dpto. Señales, Sistemas y Radiocomunicaciones (SSR) > > Telf: +34 91 336 73 44 > > E.T.S.I. de Telecomunicación (UPM) > Laboratorio C-300 > Ciudad Universitaria s/n > 28040 - Madrid > España > > > _______________________________________________ > Qt4-preview-feedback mailing list > Qt4-preview-feedback@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback >
_______________________________________________ Qt4-preview-feedback mailing list Qt4-preview-feedback@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback