|author||Maurice Kalinowski <firstname.lastname@example.org>||2015-11-18 09:40:48 +0100|
|committer||Maurice Kalinowski <email@example.com>||2015-11-19 19:59:17 +0000|
Remove hardcoded capabilities in Windows 10 manifest template
While all apps need to have internetClient as a capability, the option to provide further capabilities via qmake has been removed in the template. Instead we add the required items inside the prf and keep the manifest template as generic as possible. Task-number: QTBUG-49504 Change-Id: If26b9da277a5269a57b34e74c146b40b1b64d091 Reviewed-by: Oliver Wolff <firstname.lastname@example.org> Reviewed-by: Andrew Knight <email@example.com>
Diffstat (limited to 'mkspecs/features')
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/features/winrt/package_manifest.prf b/mkspecs/features/winrt/package_manifest.prf
index 9b4a6672e5..3520fcdf93 100644
@@ -108,6 +108,10 @@
INDENT = "$$escape_expand(\\r\\n) "
+ # All Windows 10 applications need to have internetClient. It is also not marked as additional
+ # capability anymore and is assumed to be standard.
+ *-msvc2015: WINRT_MANIFEST.capabilities += internetClient
# Capabilities are given as a string list and may change with the configuration (network, sensors, etc.)
WINRT_MANIFEST.capabilities = $$unique(WINRT_MANIFEST.capabilities)
WINRT_MANIFEST.capabilities_device = $$unique(WINRT_MANIFEST.capabilities_device)