summaryrefslogtreecommitdiffstats
path: root/weatherapp.pro
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-05-19 11:27:47 +0300
committerAndrew Knight <andrew.knight@digia.com>2014-05-19 17:16:40 +0200
commit71b30004c71eb43eff805425df019a30600b7aa7 (patch)
tree62155ba5d11d886cf9b1437eee4a1b1833cba408 /weatherapp.pro
parentaa18322de9c8aab79fd3fd4163a3e8795a1565fd (diff)
Add manifest directives and icons for WinRT
For store packaging, WinRT/Windows Phone apps must have certain capabilities and icons set in the manifest. Change-Id: I89032090f540c0e834dea0ca6436bea53f4e5bfb Reviewed-by: Caroline Chao <caroline.chao@digia.com> Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'weatherapp.pro')
-rw-r--r--weatherapp.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/weatherapp.pro b/weatherapp.pro
index c3f02ba..7ca3dbf 100644
--- a/weatherapp.pro
+++ b/weatherapp.pro
@@ -107,6 +107,26 @@ ios {
android: ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
+winrt {
+ WINRT_MANIFEST.logo_large = app-icons/AppIcon_150x150.png
+ WINRT_MANIFEST.logo_small = app-icons/AppIcon_30x30.png
+ WINRT_MANIFEST.logo_store = app-icons/AppIcon_50x50.png
+ WINRT_MANIFEST.logo_splash = app-icons/AppIcon_620x300.png
+ WINRT_MANIFEST.background = $${LITERAL_HASH}00a2ff
+ WINRT_MANIFEST.publisher = "Digia Plc"
+ winphone:equals(WINSDK_VER, 8.0) {
+ WINRT_MANIFEST.capabilities += ID_CAP_NETWORKING
+ WINRT_MANIFEST.logo_medium = app-icons/AppIcon_100x100.png
+ WINRT_MANIFEST.tile_iconic_small = app-icons/AppIcon_71x110.png
+ WINRT_MANIFEST.tile_iconic_medium = app-icons/AppIcon_134x202.png
+ build_pass:FONTS = $$PWD/fonts/OpenSans-Bold.ttf $$PWD/fonts/OpenSans-Semibold.ttf $$PWD/fonts/OpenSans-Regular.ttf
+ } else {
+ WINRT_MANIFEST.capabilities += internetClient
+ }
+ CONFIG += windeployqt
+ WINDEPLOYQT_OPTIONS = -no-svg -qmldir $$shell_quote($$system_path($$_PRO_FILE_PWD_))
+}
+
# TRANSLATIONS - Create extra targets for convenience
wd = $$replace(PWD, /, $$QMAKE_DIR_SEP)