summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/winrt_winphone/manifests/8.1
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-01-24 07:47:51 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-24 08:19:00 +0100
commitf125822ee622dd9bf3cff867a6e023702aa4448d (patch)
tree4d4087c526eb693bc621aea542e27958d205a0ed /mkspecs/common/winrt_winphone/manifests/8.1
parent413129e20780cc42f1c7076974b123c08ba19093 (diff)
WinRT: Provide qmake feature for generating a package manifest
This feature (package_manifest) generates a basic application manifest from a template provided by the mkspec or the developer. It is meant to deliver an out-of-the-box build experience without attempting to exhaustively cover all manifest options. It is meant to be a starting point which allows the developer to customize the manifest further. It also becomes the default package manifest generator for Windows Phone, replacing autogen_wmappmanifest. Common variables, such as the target executable, are populated by qmake in the newly created manifest. Default icons are also created if needed, as the build will fail without them. The input manifest can be set by assigning a file name to WINRT_MANIFEST. Additional options are documented in the .prf file. If an existing (non-generated) manifest is already in the directory, it will not be overwritten. Task-number: QTBUG-35328 Change-Id: I57576a17ff9d2b564c0828f815949cb26d276bfd Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'mkspecs/common/winrt_winphone/manifests/8.1')
-rw-r--r--mkspecs/common/winrt_winphone/manifests/8.1/AppxManifest.xml.in44
1 files changed, 44 insertions, 0 deletions
diff --git a/mkspecs/common/winrt_winphone/manifests/8.1/AppxManifest.xml.in b/mkspecs/common/winrt_winphone/manifests/8.1/AppxManifest.xml.in
new file mode 100644
index 0000000000..8c214871e3
--- /dev/null
+++ b/mkspecs/common/winrt_winphone/manifests/8.1/AppxManifest.xml.in
@@ -0,0 +1,44 @@
+<?xml version=\"1.0\" encoding=\"utf-8\"?>
+<Package xmlns=\"http://schemas.microsoft.com/appx/2010/manifest\" xmlns:v2=\"http://schemas.microsoft.com/appx/2013/manifest\">
+ <Identity
+ Name=\"$${WINRT_MANIFEST.identity}\"
+ ProcessorArchitecture=\"$${WINRT_MANIFEST.architecture}\"
+ Publisher=\"$${WINRT_MANIFEST.publisherid}\"
+ Version=\"$${WINRT_MANIFEST.version}\" />
+ <Properties>
+ <DisplayName>$${WINRT_MANIFEST.name}</DisplayName>
+ <PublisherDisplayName>$${WINRT_MANIFEST.publisher}</PublisherDisplayName>
+ <Logo>$${WINRT_MANIFEST.logo_store}</Logo>
+ </Properties>
+ <Prerequisites>
+ <OSMinVersion>6.3.0</OSMinVersion>
+ <OSMaxVersionTested>6.3.0</OSMaxVersionTested>
+ </Prerequisites>
+ <Resources>
+ <Resource Language=\"en\" />
+ </Resources>
+ <Applications>
+ <Application
+ Id=\"App\"
+ Executable=\"$${WINRT_MANIFEST.target}.exe\"
+ EntryPoint=\"$${WINRT_MANIFEST.target}.App\">
+ <v2:VisualElements
+ DisplayName=\"$${WINRT_MANIFEST.name}\"
+ Description=\"$${WINRT_MANIFEST.description}\"
+ BackgroundColor=\"$${WINRT_MANIFEST.background}\"
+ ForegroundText=\"$${WINRT_MANIFEST.foreground}\"
+ Square150x150Logo=\"$${WINRT_MANIFEST.logo_large}\"
+ Square30x30Logo=\"$${WINRT_MANIFEST.logo_small}\">
+ <v2:DefaultTile>
+ <v2:ShowNameOnTiles>
+ <v2:ShowOn Tile=\"square150x150Logo\" />
+ </v2:ShowNameOnTiles>
+ </v2:DefaultTile>
+ <v2:SplashScreen Image=\"$${WINRT_MANIFEST.logo_splash}\" />
+ </v2:VisualElements>
+ </Application>
+ </Applications>
+ <Capabilities>$${WINRT_MANIFEST.capabilities}</Capabilities>
+ <Dependencies>$${WINRT_MANIFEST.dependencies}</Dependencies>
+</Package>
+<!-- Generated by qmake using the $$[QMAKE_XSPEC] mkspec. Remove this line to prevent this file from getting overwritten by qmake. -->