qt的helloworld程序编译出错,该如何处理
F: emp_fileqthello>makemake -f Makefile。Debugmake[1]: Entering directory `F:/temp_file/qt/hello'g -mthreads -Wl,-subsystem,windows -o debughello。 exe debug/hello。o -L"f:local_fileQTlib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4f:local_fileQTlib/libqtmaind。 a(qtmain_win。o): In function `WinMain@...全部
F: emp_fileqthello>makemake -f Makefile。Debugmake[1]: Entering directory `F:/temp_file/qt/hello'g -mthreads -Wl,-subsystem,windows -o debughello。
exe debug/hello。o -L"f:local_fileQTlib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4f:local_fileQTlib/libqtmaind。
a(qtmain_win。o): In function `WinMain@16':c:iwmakeuild_mingw_opensourcesrcwinmain/qtmain_win。cpp:93: undefined reference to `_Unwind_Resume'c:iwmakeuild_mingw_opensourcesrcwinmain/qtmain_win。
cpp:135: undefined reference to `_Unwind_Resume'f:local_fileQTlib/libqtmaind。a(qtmain_win。o):c:iwmakeuild_mingw_opensourcesrcwinmain/。
。/。。/include/QtCore/。。/。。/src/corelib/tools/qvector。h:512: undefined reference to `_Unwind_Resume'f:local_fileQTlib/libqtmaind。
a(qtmain_win。o):c:iwmakeuild_mingw_opensourcesrcwinmain/。。/。。/include/QtCore/。。/。。/src/corelib/tools/qvector。
h:513: undefined reference to `_Unwind_Resume'f:local_fileQTlib/libqtmaind。a(qtmain_win。o):qtmain_win。
cpp:(。eh_frame 0x12):undefined reference to `__gxx_personality_v0'collect2: ld returned 1 exit statusmake[1]: *** [debughello。
exe] Error 1make[1]: Leaving directory `F:/temp_file/qt/hello'make: *** [debug] Error 2------解决方案-------------------------------------------------------- undefined reference to `_Unwind_Resume' 是不少头文件,------解决方案-------------------------------------------------------- 多个gcc版本那也不会影响编译。
。默认都是最高版本的!。收起