Dartoxian Dartoxian - 1 month ago 27
C++ Question

Using QT Creator how can I set the execution level as 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.

Mat Mat
Answer

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).