错误信息如下,能帮我看看是啥问题不?
10:28:27: 为项目test执行步骤 ...
10:28:27: 配置没有改变, 跳过 qmake 步骤。
10:28:27: 正在启动 "C:\MinGW\bin\mingw32-make.exe"
C:/MinGW/bin/mingw32-make.exe -f Makefile.Debug
mingw32-make.exe[1]: Entering directory `D:/qt/test-build-桌面-Debug'
g++ -mthreads -Wl,-subsystem,windows -o debug\test.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o -L"c:\Qt\4.8.4\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
mingw32-make.exe[1]: Leaving directory `D:/qt/test-build-桌面-Debug'
c:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o)(.text+0x64):../../include/QtCore/../../src/corelib/tools/qvector.h:424: undefined reference to `_Unwind_Resume'
c:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o)(.text+0x12a):c:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:135: undefined reference to `_Unwind_Resume'
c:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o)(.text$_ZN7QVectorIPcE7reallocEii[QVector<char*>::realloc(int, int)]+0x1a1):../../include/QtCore/../../src/corelib/tools/qvector.h:512: undefined reference to `_Unwind_Resume'
c:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o)(.text$_ZN7QVectorIPcE7reallocEii[QVector<char*>::realloc(int, int)]+0x1dc):../../include/QtCore/../../src/corelib/tools/qvector.h:513: undefined reference to `_Unwind_Resume'
c:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o)(.eh_frame+0x12): In function `Z4qMinIiERKT_S2_S2_':
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:95: undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [debug\test.exe] Error 1
C:\MinGW\bin\mingw32-make.exe: *** [debug] Error 2
10:28:28: 进程"C:\MinGW\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project test (kit: 桌面)
当执行步骤 'Make'时
------解决方案--------------------
undefined reference to `_Unwind_Resume'
就是说_Unwind_Resume没有定义,产生的原因可能是没有包含相应的库。
建议先把路径该成全英文无空格,然后删除.user文件和debug/release产生的所有东西,重新编译。
然后留意`_Unwind_Resume'等未定义的量的出处,看跟他相关的库是否配置好了
------解决方案--------------------
中文路径问题