summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/winrt_winphone
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2016-08-22 16:06:02 +0200
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2016-08-25 13:27:22 +0000
commitf4b2115b511ef95f921460d70957788ab496b70b (patch)
treefa12d400c55870762fefbad61ace2bf86271be0e /mkspecs/common/winrt_winphone
parent3525ede0a5a17ca01b9b92d72df0a1a6b7e77e5d (diff)
winrt: Add support for version requirements for MSVC2015
Previously we hardcoded the minimum windows version to the initial Windows 10 release. However features have been added which require a higher SDK version (eg drag and drop). Deploying such a package might fail during distribution to consumer devices. Hence introduce WINRT_MANIFEST.minVersion and WINRT_MANIFEST.maxVersionTested as variables for the manifest file. If nothing is specified, both values will be set to the UCRTVersion environment variable, implying the development setup from which qmake has been invoked. Change-Id: I1dcf1e75c67c4ab2fd5a3fdcc32c8783a336e6ff Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'mkspecs/common/winrt_winphone')
-rw-r--r--mkspecs/common/winrt_winphone/manifests/10.0/AppxManifest.xml.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkspecs/common/winrt_winphone/manifests/10.0/AppxManifest.xml.in b/mkspecs/common/winrt_winphone/manifests/10.0/AppxManifest.xml.in
index fc6bfcebcf..9c25feb43f 100644
--- a/mkspecs/common/winrt_winphone/manifests/10.0/AppxManifest.xml.in
+++ b/mkspecs/common/winrt_winphone/manifests/10.0/AppxManifest.xml.in
@@ -22,7 +22,9 @@
</Properties>
<Dependencies>
- <TargetDeviceFamily Name=\"Windows.Universal\" MinVersion=\"10.0.10586.0\" MaxVersionTested=\"10.0.10586.0\" />$${WINRT_MANIFEST.dependencies}
+ <TargetDeviceFamily Name=\"Windows.Universal\"
+ MinVersion=\"$${WINRT_MANIFEST.minVersion}\"
+ MaxVersionTested=\"$${WINRT_MANIFEST.maxVersionTested}\" />$${WINRT_MANIFEST.dependencies}
</Dependencies>
<Resources>