在我的项目中单击运行时,我收到“无法启动程序。路径或权限错了吗?“

问题描述 投票:0回答:1

点击qt creator中的项目运行

" Failed to start program. Path or permissions wrong?"

11:02:18: Starting C:\V6\Filename2.0\release\Filename.exe...
11:02:18: Failed to start program. Path or permissaions wrong?
11:02:18: C:/V6/Filename2.0/release/Filename.exe exited with code -1
11:02:18: The process failed to start. Either the invoked program "C:/V6/Filename2.0/release/Filename2.exe" is missing, or you may have insufficient permissions to invoke the program.
qt
1个回答
0
投票

如果没有更多的信息(Qt和Qt Creator版本,操作系统版本 - 我认为它的窗口),很难制定一个明智的假设,但是,我可能会尝试一些事情:

  1. 你确定没有其他Filename.exe在运行吗?如果有QtCreator则无法创建一个新的可执行文件替换当前正在使用的可执行文件
  2. 也许windows对那个特定的文件/文件夹有一些锁定,可能值得用mst isusedby等工具查看
  3. 尝试关闭QtCreator / rebooting以清除该文件夹上的任何陈旧锁定
  4. 在projects部分中选择另一个用于阴影构建的文件夹,并查看是否可以在那里创建可执行文件。
© www.soinside.com 2019 - 2024. All rights reserved.