安装最新的Qt SDK4.8.2时选择MinGW路径后,提示找不w32api.h?
我安装的是最新的Qt SDK4.8.2时选择MinGW路径后,提示如下:
There is a problem with your MinGW instanllation:
The install could not find a valid D:\MyTools\Qt\MinGW\include\w32api.h
(Only version with W32API 3.13 are supported)
Do you still want to continue?(Your instanllation may not work)
但是我在MinGW\include目录中能找到w32api.h,我选择了继续安装。之后用Qt Creator创建项目编译时报错。
14:38:04: Running steps for project Test1...
14:38:05: 正在启动 "D:\MyTools\Qt\QtSDK\bin\qmake.exe" D:\MyQtAppliction\Test1\Test1.pro -r -spec win32-g++ "CONFIG+=declarative_debug"
{1"?} {2?}
14:38:07: 进程"D:\MyTools\Qt\QtSDK\bin\qmake.exe"正常退出。
14:38:07: 正在启动 "D:\MyTools\Qt\MinGW\bin\mingw32-make.exe"
{1"?} {2?}
D:/MyTools/Qt/MinGW/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'D:/MyQtAppliction/Test1'
mingw32-make[1]: Leaving directory 'D:/MyQtAppliction/Test1'
Makefile:34: recipe for target 'debug' failed
mingw32-make[1]: *** No rule to make target 'debugTest1.exe', needed by 'all'. Stop.
mingw32-make: *** [debug] Error 2
14:38:09: 进程"D:\MyTools\Qt\MinGW\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project Test1 (target: 桌面)
When executing step 'Make'
是不是安装MinGW有问题,怎么解决?