Qt 创建者错误

编程入门 行业动态 更新时间:2024-10-22 08:24:36
本文介绍了Qt 创建者错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

启动项目调试,然后

Running build steps for project Text_Editor... Starting: "c:/qt/2010.05/qt/bin/qmake.exe" C:/Qt/2010.05/Text_Editor/Text_Editor.pro -r -spec win32-g++ The process "c:/qt/2010.05/qt/bin/qmake.exe" exited normally. Starting: "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" -w mingw32-make: Entering directory `C:/Qt/2010.05/Text_Editor-build-desktop' C:/Qt/2010.05/mingw/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory `C:/Qt/2010.05/Text_Editor-build-desktop' g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\qt\include\QtCore" -I"..\qt\include\QtGui" -I"..\qt\include" -I"..\qt\include\ActiveQt" -I"debug" -I"..\Text_Editor" -I"." -I"..\qt\mkspecs\win32-g++" -o debug\main.o ..\Text_Editor\main.cpp mingw32-make[1]: Leaving directory `C:/Qt/2010.05/Text_Editor-build-desktop' mingw32-make: Leaving directory `C:/Qt/2010.05/Text_Editor-build-desktop' g++: ..\Text_Editor\main.cpp: No such file or directory g++: no input files mingw32-make[1]: *** [debug/main.o] Error 1 mingw32-make: *** [debug] Error 2 The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2. Error while building project Text_Editor (target: Desktop) When executing build step 'Make'

我对此一无所知.我刚刚安装了它,创建了一个新项目并立即出现了该错误.

I have no clue on that. I just installed it, created a new project and got that error instantly.

推荐答案

我刚才遇到了几乎相同的问题.没有进入为什么"——我从项目选项中取消了Shadow build",我的构建成功了.有趣的部分是 - Shadow build"昨天奏效了,中间没有任何变化.

I had pretty much the same problem just now. Without getting into "why" - I unticked "Shadow build" from project options and my build was succesful. Funny part is - "Shadow build" worked yesterday, and nothing really changed that much in between.

更多推荐

Qt 创建者错误

本文发布于:2023-11-28 16:52:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643200.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:创建者   错误   Qt

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!