summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@digia.com>2014-03-24 10:16:28 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-25 08:05:21 +0100
commit305907ecfaa8452f9ffc46791088b60b3d620180 (patch)
tree3fa36be89966c024bde6a9660c983cd160972349
parent63de1350c2a926a9941ee1b72a73c84b08cb0fdb (diff)
WinPhone: Install DejaVu ttf fonts into Qt
As these fonts are deployed as part of the package for WinPhone projects by default they have to be installed in order to be available in the packages. Change-Id: Iaaca7b7db0525f06d3e1716d5a337550ffb1dea9 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
-rw-r--r--src/plugins/platforms/winrt/winrt.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/platforms/winrt/winrt.pro b/src/plugins/platforms/winrt/winrt.pro
index 306bbc8174..60c87bb61a 100644
--- a/src/plugins/platforms/winrt/winrt.pro
+++ b/src/plugins/platforms/winrt/winrt.pro
@@ -1,6 +1,15 @@
TARGET = qwinrt
CONFIG -= precompile_header
+# For Windows Phone 8 we have to deploy fonts together with the application as DirectWrite
+# is not supported here.
+# TODO: Add a condition/remove this block if Windows Phone 8.1 supports DirectWrite
+winphone {
+ fonts.path = $$[QT_INSTALL_LIBS]/fonts
+ fonts.files = $$QT_SOURCE_TREE/lib/fonts/DejaVu*.ttf
+ INSTALLS += fonts
+}
+
PLUGIN_TYPE = platforms
PLUGIN_CLASS_NAME = QWinRTIntegrationPlugin
load(qt_plugin)