标题:启动程序失败,路径或者权限错误?
作者:戊子年z
日期:2019-08-20 13:30
内容:
暑假学习Qt,突然的Qt就不能用了,很是难受。请教各位大佬,该如何解决?
新建一个Qt Widgets Application,选项都按照默认的来,
Ctrl+R运行之后应用程序输出:
13:17:02: Starting D:\qcpp\build-untitled8-Desktop_Qt_5_12_2_MinGW_32_bit-Debug\debug\untitled8.exe...
13:17:02: 启动程序失败,路径或者权限错误?
13:17:02: D:/qcpp/build-untitled8-Desktop_Qt_5_12_2_MinGW_32_bit-Debug/debug/untitled8.exe exited with code -1
13:17:02: The process failed to start. Either the invoked program "D:/qcpp/build-untitled8-Desktop_Qt_5_12_2_MinGW_32_bit-Debug/debug/untitled8.exe" is missing, or you may have insufficient permissions to invoke the program.
到构建目录下运行程序出现下面的情况
.
以管理员身份运行出现下面的情况
.
尝试了网上的方法,没找到有效的解决方案。
以下是编译输出:
13:16:53: 为项目untitled8执行步骤 ...
13:16:53: 正在启动 "D:\qt\5.12.2\mingw73_32\bin\qmake.exe" D:\qcpp\untitled8\untitled8.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
Info: creating stash file D:\qcpp\build-untitled8-Desktop_Qt_5_12_2_MinGW_32_bit-Debug\.qmake.stash
13:16:55: 进程"D:\qt\5.12.2\mingw73_32\bin\qmake.exe"正常退出。
13:16:55: 正在启动 "D:\qt\Tools\mingw730_32\bin\mingw32-make.exe" -f D:/qcpp/build-untitled8-Deskt ..
#1 [yuyu414 08-20 16:34]
qt creator不要用管理员权限启动,试试
#2 [lemonzll 08-21 10:13]
我感觉这情况是装了杀毒软件的问题,编译看提示也成功了,但是运行提示找不到文件,可能是运行的时候被杀毒软件拦截了
#3 回 lemonzll 的帖子 [戊子年z 08-22 23:35]
lemonzll:我感觉这情况是装了杀毒软件的问题,编译看提示也成功了,但是运行提示找不到文件,可能是运行的时候被杀毒软件拦截了 (2019-08-21 10:13)
!!!!!!!!!!!!!
感谢回复!!
确实是这原因,当时正好为了领黑钻下载了qq管家。
正如阁下所言,关闭管家之后就正常了!
十分感谢!!