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>
This commit is contained in:
parent
63de1350c2
commit
305907ecfa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user