Hi all

I`m using Qt (4.7.1) and Eclipse integration. I`m writing a Qtcore project and It`s working fine. But whenever I include QtGui by writing : #include <QtGui> and compiling , I get the following error:

Qt Code:
  1. C:\\iwmake\\build_mingw_opensource\\src\\winmain/qtmain_win.cpp:93: undefined reference to `_Unwind_Resume'
  2. mingw32-make[1]: Leaving directory `Z:/workspace/Bismellah'
  3. C:\\iwmake\\build_mingw_opensource\\src\\winmain/qtmain_win.cpp:135: undefined reference to `_Unwind_Resume'
  4. c:\Users\alhussab\Downloads\devtools\QT\lib/libqtmaind.a(qtmain_win.o):C:\\iwmake\\build_mingw_opensource\\src\\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:484: undefined reference to `_Unwind_Resume'
  5. c:\Users\alhussab\Downloads\devtools\QT\lib/libqtmaind.a(qtmain_win.o):C:\\iwmake\\build_mingw_opensource\\src\\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:485: undefined reference to `_Unwind_Resume'
  6. c:\Users\alhussab\Downloads\devtools\QT\lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
  7. collect2: ld returned 1 exit status
  8. mingw32-make[1]: *** [debug\Bismellah.exe] Error 1
  9. mingw32-make: *** [debug] Error 2
To copy to clipboard, switch view to plain text mode 


Without including QtGui, it just works fine. I tried totally a new Qt example that includes both QtCore and QtGui, and I get the same error. I made sure that QtGui exists in the Include path.

For your information, I use MinGW 4.4

Could you please help me with this error ?

Thanks a lot in advance