使用QT Creator如何将执行级别设置为requireAdministrator [英] Using QT Creator how can I set the execution level as requireAdministrator
本文介绍了使用QT Creator如何将执行级别设置为requireAdministrator的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Basically I need to be able to edit files that require administrator privileges to edit. I know that in Visual Studio a manifest file is used for this - but I understand QT does not have these.
解决方案
You can use a manifest with Qt applications, but you'll have to do it semi-manually. This blog post Embedding Application Manifest and Version Information using QtCreator shows one way of doing it (adapt the manifest to suit your needs).
这篇关于使用QT Creator如何将执行级别设置为requireAdministrator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文