zgulser
14th May 2012, 09:59
Hi,
How can I make qmake read (embedded) manifest file?
I'm asking this because I needed to customize my manifest file(from VS2010) in order to be able to have some writing priviliges on disk(C:)
To do this, I tuned Linker-->Manifest File part accordingly but I'm using qmake built. So I couldn't find how to add my customized Manifest properties into my exe.
In VS2010, the manifest is default embedded. Adding to .pro file;
"CONFIG += embedded_manifest_exe"
To copy to clipboard, switch view to plain text mode
will be OK?
Added after 59 minutes:
What about;
QMAKE_LFLAGS_WINDOWS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\"
as well?
How can I make qmake read (embedded) manifest file?
I'm asking this because I needed to customize my manifest file(from VS2010) in order to be able to have some writing priviliges on disk(C:)
To do this, I tuned Linker-->Manifest File part accordingly but I'm using qmake built. So I couldn't find how to add my customized Manifest properties into my exe.
In VS2010, the manifest is default embedded. Adding to .pro file;
"CONFIG += embedded_manifest_exe"
To copy to clipboard, switch view to plain text mode
will be OK?
Added after 59 minutes:
What about;
QMAKE_LFLAGS_WINDOWS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\"
as well?