QT Creator: The process could not be started!
如果往工程里面增加了uac.manifest 文件后,QT creator不通过管理员启动的话,若要debug程序的话,就会提示 “The process could not be started!”
uac.manifest文件内容:
1 <?xml version='1.0' encoding='UTF-8' standalone='yes'?> 2 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'> 3 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> 4 <security> 5 <requestedPrivileges> 6 <requestedExecutionLevel level='requireAdministrator' uiAccess='false' /> 7 </requestedPrivileges> 8 </security> 9 </trustInfo> 10 </assembly>
解决此问题的办法就是通过管理员方式启动 QT creator即可,也可以设置为默认通过管理员方式启动