当我想在 Qt 4.8.5 和 Mingw 编译器下编译程序时遇到问题
我尝试了很多版本的 Mingw(v 4.5.0 到 4.8),但总是遇到同样的错误
c:\Qt\4.8.5\lib\libqtmaind.a(qtmain_win.o):-1: In function `WinMain@16':
c:\iwmake\build_mingw_opensource\src\winmain\qtmain_win.cpp:93: erreur : undefined reference to `_Unwind_Resume'
c:\iwmake\build_mingw_opensource\src\winmain\qtmain_win.cpp:135: erreur : undefined reference to `_Unwind_Resume'
c:\Qt\4.8.5\lib\libqtmaind.a(qtmain_win.o):-1: In function `ZN7QVectorIPcE7reallocEii':
c:\iwmake\build_mingw_opensource\src\corelib\tools\qvector.h:512: erreur : undefined reference to `_Unwind_Resume'
c:\iwmake\build_mingw_opensource\src\corelib\tools\qvector.h:513: erreur : undefined reference to `_Unwind_Resume'
qtmain_win.cpp:-1: erreur : undefined reference to `__gxx_personality_v0'
:-1: erreur : collect2: ld returned 1 exit status