Qt Creator create exes with admin privilegies
-
Imo this has nothing to do with Qt but with the application name and the user account control stuff. You need to create a proper manifest file (see for example the one needed for patch.exe which has the same problems since ages. e.g. https://github.com/highperformancecoder/scidavis/blob/master/patch.exe.manifest )
-
As I said in my first post it has nothing to do with qt nor qt-creator but with the name of your executable and the user account control stuff from windows.
-
As I said in my first post it has nothing to do with qt nor qt-creator but with the name of your executable and the user account control stuff from windows.
-
@JonB yes, the uac decides on the name of the executable how to handle it (a little but stupid but it's doing this since win7). When it finds 'update' or 'patch' in there (and maybe others) and there is no proper manifest embedded the uac will jump in and ask for admin privileges.
-
@JonB yes, the uac decides on the name of the executable how to handle it (a little but stupid but it's doing this since win7). When it finds 'update' or 'patch' in there (and maybe others) and there is no proper manifest embedded the uac will jump in and ask for admin privileges.
@Christian-Ehrlicher
I think that knowing if he renames his project/executable the problem will go away will help the OP! :)