找回密码
 立即注册
收起左侧

问题描述调试Helloworld项目时main.cpp出现找不到目录是什么.....

0
回复
6036
查看
[复制链接]
累计签到:53 天
连续签到:1 天
来源: 2016-3-25 17:58:41 显示全部楼层 |阅读模式
1Qter豆
17:43:24: 为项目helloworld执行步骤 ...
17:43:24: 配置没有改变, 跳过 qmake 步骤。
17:43:24: 正在启动 "C:\Qt\Qt5.6.0\Tools\mingw492_32\bin\mingw32-make.exe"

C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'E:/QtApplication/helloworld1/build-helloworld-Desktop_Qt_5_6_0_MinGW_32bit-Debug'
g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\helloworld -I. -IC:\Qt\Qt5.6.0\5.6\mingw49_32\include -IC:\Qt\Qt5.6.0\5.6\mingw49_32\include\QtGui -IC:\Qt\Qt5.6.0\5.6\mingw49_32\include\QtANGLE -IC:\Qt\Qt5.6.0\5.6\mingw49_32\include\QtCore -Idebug -IC:\Qt\Qt5.6.0\5.6\mingw49_32\mkspecs\win32-g++  -o debug\main.o ..\helloworld\main.cpp
..\helloworld\main.cpp:1:24: fatal error: QApplication: No such file or directory
#include <QApplication>
                        ^
compilation terminated.
Makefile.Debug:105: recipe for target 'debug/main.o' failed
mingw32-make[1]: *** [debug/main.o] Error 1
mingw32-make[1]: Leaving directory 'E:/QtApplication/helloworld1/build-helloworld-Desktop_Qt_5_6_0_MinGW_32bit-Debug'
makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
17:43:24: 进程"C:\Qt\Qt5.6.0\Tools\mingw492_32\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project helloworld (kit: Desktop Qt 5.6.0 MinGW 32bit)
When executing step "Make"
17:43:24: Elapsed time: 00:00.

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了