adding manifest for Windows build

This commit is contained in:
Rafael 2016-12-15 09:00:23 +01:00
parent 1bc4aead23
commit b2f21b04ba
3 changed files with 17 additions and 0 deletions

View file

@ -112,6 +112,7 @@ DISTFILES += res/app.rc \
res/gta5sync.desktop \
res/gta5sync_de.ts \
res/gta5sync_fr.ts \
res/gta5view.exe.manifest \
lang/qtbase_ru.qm \
lang/gta5sync_ru.ts \
lang/qt_ru.qm \

View file

@ -1,4 +1,5 @@
IDI_ICON1 ICON DISCARDABLE "5sync.ico"
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gta5view.exe.manifest"
#include <windows.h>

15
res/gta5view.exe.manifest Normal file
View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*' />
</dependentAssembly>
</dependency>
</assembly>