QT Creator: The process could not be started!

若是往工程里面增长了uac.manifest 文件后,QT creator不经过管理员启动的话,若要debug程序的话,就会提示 “The process could not be started!”ui

uac.manifest文件内容:spa

 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便可,也能够设置为默认经过管理员方式启动debug

相关文章
相关标签/搜索