qmake 系统找不到指定的路径
开发环境:Windows7 + Qt 5.7
编译时出现异常提示(红色部分),最终编译是通过的:
11:05:47: 为项目Empty执行步骤 ...
11:05:47: 正在启动 "D:\Qt\Qt5.7.0\5.7\mingw53_32\bin\qmake.exe" D:\Qt\test\5xx\Empty\Empty.pro -r -spec win32-g++ "CONFIG+=debug"
系统找不到指定的路径。
系统找不到指定的路径。
系统找不到指定的路径。
11:05:48: 进程"D:\Qt\Qt5.7.0\5.7\mingw53_32\bin\qmake.exe"正常退出。
11:05:48: 正在启动 "D:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe"
D:/Qt/Qt5.7.0/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
。。。
11:05:56: 进程"D:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe"正常退出。
11:05:56: Elapsed time: 00:09.
但是点击“清理项目”时,出现清除不了的情况,提示如下:
11:10:06: 为项目Empty执行步骤 ...
11:10:07: 正在启动 "D:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe" clean
D:/Qt/Qt5.7.0/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug clean
mingw32-make[1]: Entering directory 'D:/Qt/test/5xx/build-Empty-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
rm -f debug/moc_mainwindow.cpp
Makefile.Debug:96: recipe for target 'compiler_moc_header_clean' failed
mingw32-make[1]: [compiler_moc_header_clean] Error -1073741515 (ignored)
rm -f ui_mainwindow.h
。。。
mingw32-make[1]: [clean] Error -1073741515 (ignored)
mingw32-make[1]: Leaving directory 'D:/Qt/test/5xx/build-Empty-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
11:10:08: 进程"D:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe"正常退出。
11:10:08: Elapsed time: 00:02.
另外发现生成的Makefile有问题:
MAKEFILE = Makefile
first: debug
install: debug-install
uninstall: debug-uninstall
QMAKE = D:/Qt/Qt5.7.0/5.7/mingw53_32/bin/qmake.exe
DEL_FILE = rm -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
COPY = cp -f
COPY_FILE = cp -f
。。。
如上“ DEL_FILE = rm -f ”,而我的另一台笔记本上的是“ DEL_FILE = del ”
请高手们支支招,多谢了!