summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--app-icons/AppIcon_100x100.pngbin0 -> 3000 bytes
-rw-r--r--app-icons/AppIcon_134x202.pngbin0 -> 3570 bytes
-rw-r--r--app-icons/AppIcon_150x150.pngbin0 -> 3492 bytes
-rw-r--r--app-icons/AppIcon_30x30.pngbin0 -> 709 bytes
-rw-r--r--app-icons/AppIcon_50x50.pngbin0 -> 1441 bytes
-rw-r--r--app-icons/AppIcon_620x300.pngbin0 -> 7923 bytes
-rw-r--r--app-icons/AppIcon_71x110.pngbin0 -> 1852 bytes
-rw-r--r--weatherapp.pro20
8 files changed, 20 insertions, 0 deletions
diff --git a/app-icons/AppIcon_100x100.png b/app-icons/AppIcon_100x100.png
new file mode 100644
index 0000000..f033910
--- /dev/null
+++ b/app-icons/AppIcon_100x100.png
Binary files differ
diff --git a/app-icons/AppIcon_134x202.png b/app-icons/AppIcon_134x202.png
new file mode 100644
index 0000000..794217e
--- /dev/null
+++ b/app-icons/AppIcon_134x202.png
Binary files differ
diff --git a/app-icons/AppIcon_150x150.png b/app-icons/AppIcon_150x150.png
new file mode 100644
index 0000000..9630e94
--- /dev/null
+++ b/app-icons/AppIcon_150x150.png
Binary files differ
diff --git a/app-icons/AppIcon_30x30.png b/app-icons/AppIcon_30x30.png
new file mode 100644
index 0000000..9bc61e5
--- /dev/null
+++ b/app-icons/AppIcon_30x30.png
Binary files differ
diff --git a/app-icons/AppIcon_50x50.png b/app-icons/AppIcon_50x50.png
new file mode 100644
index 0000000..4a946ce
--- /dev/null
+++ b/app-icons/AppIcon_50x50.png
Binary files differ
diff --git a/app-icons/AppIcon_620x300.png b/app-icons/AppIcon_620x300.png
new file mode 100644
index 0000000..c7562a7
--- /dev/null
+++ b/app-icons/AppIcon_620x300.png
Binary files differ
diff --git a/app-icons/AppIcon_71x110.png b/app-icons/AppIcon_71x110.png
new file mode 100644
index 0000000..39ad048
--- /dev/null
+++ b/app-icons/AppIcon_71x110.png
Binary files differ
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)