f4b2115b51
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>
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version=\"1.0\" encoding=\"utf-8\"?>
|
|
|
|
<Package
|
|
xmlns=\"http://schemas.microsoft.com/appx/manifest/foundation/windows10\"
|
|
xmlns:mp=\"http://schemas.microsoft.com/appx/2014/phone/manifest\"
|
|
xmlns:uap=\"http://schemas.microsoft.com/appx/manifest/uap/windows10\"
|
|
xmlns:mobile=\"http://schemas.microsoft.com/appx/manifest/mobile/windows10\"
|
|
IgnorableNamespaces=\"uap mp mobile\">
|
|
|
|
<Identity
|
|
Name=\"$${WINRT_MANIFEST.identity}\"
|
|
Publisher=\"$${WINRT_MANIFEST.publisherid}\"
|
|
Version=\"$${WINRT_MANIFEST.version}\"
|
|
ProcessorArchitecture=\"$${WINRT_MANIFEST.architecture}\" />
|
|
|
|
<mp:PhoneIdentity PhoneProductId=\"$${WINRT_MANIFEST.identity}\" PhonePublisherId=\"$${WINRT_MANIFEST.phone_publisher_id}\"/>
|
|
|
|
<Properties>
|
|
<DisplayName>$${WINRT_MANIFEST.name}</DisplayName>
|
|
<PublisherDisplayName>$${WINRT_MANIFEST.publisher}</PublisherDisplayName>
|
|
<Logo>$${WINRT_MANIFEST.logo_store}</Logo>
|
|
</Properties>
|
|
|
|
<Dependencies>
|
|
<TargetDeviceFamily Name=\"Windows.Universal\"
|
|
MinVersion=\"$${WINRT_MANIFEST.minVersion}\"
|
|
MaxVersionTested=\"$${WINRT_MANIFEST.maxVersionTested}\" />$${WINRT_MANIFEST.dependencies}
|
|
</Dependencies>
|
|
|
|
<Resources>
|
|
<Resource Language=\"en\"/>
|
|
</Resources>
|
|
|
|
<Applications>
|
|
<Application Id=\"App\"
|
|
Executable=\"$${WINRT_MANIFEST.target}.exe\"
|
|
EntryPoint=\"$${WINRT_MANIFEST.target}.App\">
|
|
<uap:VisualElements
|
|
DisplayName=\"$${WINRT_MANIFEST.name}\"
|
|
Description=\"$${WINRT_MANIFEST.description}\"
|
|
BackgroundColor=\"$${WINRT_MANIFEST.background}\"
|
|
Square150x150Logo=\"$${WINRT_MANIFEST.logo_150x150}\"
|
|
Square44x44Logo=\"$${WINRT_MANIFEST.logo_44x44}\">
|
|
|
|
<uap:SplashScreen Image=\"$${WINRT_MANIFEST.logo_620x300}\" />
|
|
</uap:VisualElements>
|
|
</Application>
|
|
</Applications>
|
|
$${WINRT_MANIFEST.capabilities}
|
|
</Package>
|