winrt: Update capability management to include IOT namespace
Change-Id: Ib24ecb70454af5ab2e82ebbdc1fed9ef2a52bbb1 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
bd3c82f8db
commit
1309205b8b
@ -6,7 +6,8 @@
|
||||
xmlns:uap=\"http://schemas.microsoft.com/appx/manifest/uap/windows10\"
|
||||
xmlns:uap3=\"http://schemas.microsoft.com/appx/manifest/uap/windows10/3\"
|
||||
xmlns:mobile=\"http://schemas.microsoft.com/appx/manifest/mobile/windows10\"
|
||||
IgnorableNamespaces=\"uap uap3 mp mobile\">
|
||||
xmlns:iot=\"http://schemas.microsoft.com/appx/manifest/iot/windows10\"
|
||||
IgnorableNamespaces=\"uap uap3 mp mobile iot\">
|
||||
|
||||
<Identity
|
||||
Name=\"$${WINRT_MANIFEST.identity}\"
|
||||
|
@ -123,6 +123,8 @@
|
||||
|
||||
UAP3_CAPABILITIES += backgroundMediaPlayback remoteSystem userNotificationListener
|
||||
|
||||
IOT_CAPABILITIES += systemManagement
|
||||
|
||||
# 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)
|
||||
@ -133,6 +135,8 @@
|
||||
MANIFEST_CAPABILITIES += " <uap:Capability Name=\"$$CAPABILITY\" />"
|
||||
else:contains(UAP3_CAPABILITIES, $$CAPABILITY): \
|
||||
MANIFEST_CAPABILITIES += " <uap3:Capability Name=\"$$CAPABILITY\" />"
|
||||
else:contains(IOT_CAPABILITIES, $$CAPABILITY): \
|
||||
MANIFEST_CAPABILITIES += " <iot:Capability Name=\"$$CAPABILITY\" />"
|
||||
else: \
|
||||
MANIFEST_CAPABILITIES += " <Capability Name=\"$$CAPABILITY\" />"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user