[Qt-interest] Vista requestedExecutionLevel manifest stuff from qmake?
Gordon Schumacher
gordon at rebit.com
Fri Dec 12 19:41:49 CET 2008
Gabe F. Rudy wrote:
> Hey all,
> I'm looking at building my application to request Administrator
> privilege runas permissions in vista (throw up the UAC when starting).
> According to this informative article:
> http://koobmeej.blogspot.com/2006/11/cc-and-windows-vista-woes.html
> You just have the specified manifest file set in the "Manifest Tool >
> Input and Output > Additional Manifest Files" option in the Visual
> Studio project.
>
> This is all well and good, but my project is generated by qmake. Short
> of hacking it in there with a script after it's generated, is there a
> way to get qmake to set this manifest file field?
>
Sorry for the slow reply; I missed this before. We were just faced with
the same problem, and found the /MANIFESTUAC linker switch for Studio:
http://msdn.microsoft.com/en-us/library/bb384691.aspx
More information about the Qt-interest-old
mailing list