QT C++ 新手问题 error: collect2: ld returned 1 exit status。请高手指教! 5
这是编译结果具体的:Files\MicrosoftVisualStudio\VC98\lib"-L"c:\mfc\lib"-L"c:\lib"-L"d:\C++soure...
这是编译结果具体的:
Files\Microsoft Visual Studio\VC98\lib" -L"c:\mfc\lib" -L"c:\lib" -L"d:\C++sourefile\setup\mfc\lib" -L"d:\C++sourefile\setup\lib" -L"d:\c++程序文件\setup\mfc\lib" -L"d:\c++程序文件\setup\lib" -L"d:\Qt\2010.04\qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
tmp/obj/debug_shared/moc_calculator.o:D:\Qt\2010.04\qt\project\Calculator-build-desktop/tmp/moc/debug_shared/moc_calculator.cpp:110: undefined reference to `Calculator::equButtonPress()'
collect2: ld returned 1 exit status
mingw32-make[1]: Leaving directory `D:/Qt/2010.04/qt/project/Calculator-build-desktop'
mingw32-make: Leaving directory `D:/Qt/2010.04/qt/project/Calculator-build-desktop'
mingw32-make[1]: *** [debug\Calculator.exe] Error 1
mingw32-make: *** [debug-all] Error 2
The process "D:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project Calculator (target: Desktop)
When executing build step 'Make' 展开
Files\Microsoft Visual Studio\VC98\lib" -L"c:\mfc\lib" -L"c:\lib" -L"d:\C++sourefile\setup\mfc\lib" -L"d:\C++sourefile\setup\lib" -L"d:\c++程序文件\setup\mfc\lib" -L"d:\c++程序文件\setup\lib" -L"d:\Qt\2010.04\qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
tmp/obj/debug_shared/moc_calculator.o:D:\Qt\2010.04\qt\project\Calculator-build-desktop/tmp/moc/debug_shared/moc_calculator.cpp:110: undefined reference to `Calculator::equButtonPress()'
collect2: ld returned 1 exit status
mingw32-make[1]: Leaving directory `D:/Qt/2010.04/qt/project/Calculator-build-desktop'
mingw32-make: Leaving directory `D:/Qt/2010.04/qt/project/Calculator-build-desktop'
mingw32-make[1]: *** [debug\Calculator.exe] Error 1
mingw32-make: *** [debug-all] Error 2
The process "D:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project Calculator (target: Desktop)
When executing build step 'Make' 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询