刚装好qt creator 运行示例程序报错,在命令行却可以编译
编译信息如下,忘高人指点。。Runningbuildstepsforprojectstudent...Configurationunchanged,skippingqma...
编译信息如下,忘高人指点。。Running build steps for project student...Configuration unchanged, skipping qmake step.Starting: "E:/soft/Qt/MinGW/bin/mingw32-make.exe" -wE:\soft\Qt\MinGW\bin\mingw32-make.exe: Entering directory `D:/qt/student-build-desktop'E:/soft/Qt/MinGW/bin/mingw32-make.exe -f Makefile.Debugmingw32-make.exe[1]: Entering directory `D:/qt/student-build-desktop'g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\student.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o -L"e:\soft\Qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4mingw32-make.exe[1]: Leaving directory `D:/qt/student-build-desktop'E:\soft\Qt\MinGW\bin\mingw32-make.exe: Leaving directory `D:/qt/student-build-desktop'E:\soft\Qt\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lqtmaindcollect2: ld returned 1 exit statusmingw32-make.exe[1]: *** [debug\student.exe] Error 1E:\soft\Qt\MinGW\bin\mingw32-make.exe: *** [debug] Error 2The process "E:/soft/Qt/MinGW/bin/mingw32-make.exe" exited with code %2.Error while building project student (target: Desktop)When executing build step 'Make'
展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询