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
[email protected]

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
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to