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

相關文章
相關標籤/搜索