diff options
Diffstat (limited to 'src/plugins/platforms/winrt/winrt.pro')
-rw-r--r-- | src/plugins/platforms/winrt/winrt.pro | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/plugins/platforms/winrt/winrt.pro b/src/plugins/platforms/winrt/winrt.pro index 80429daeed..2718ea62bb 100644 --- a/src/plugins/platforms/winrt/winrt.pro +++ b/src/plugins/platforms/winrt/winrt.pro @@ -1,14 +1,6 @@ TARGET = qwinrt CONFIG -= precompile_header -# For Windows Phone 8 we have to deploy fonts together with the application as DirectWrite -# is not supported here. -winphone:equals(WINSDK_VER, 8.0): { - fonts.path = $$[QT_INSTALL_LIBS]/fonts - fonts.files = $$QT_SOURCE_TREE/lib/fonts/DejaVu*.ttf - INSTALLS += fonts -} - PLUGIN_TYPE = platforms PLUGIN_CLASS_NAME = QWinRTIntegrationPlugin !equals(TARGET, $$QT_DEFAULT_QPA_PLUGIN): PLUGIN_EXTENDS = - @@ -18,13 +10,8 @@ QT += core-private gui-private platformsupport-private DEFINES *= QT_NO_CAST_FROM_ASCII __WRL_NO_DEFAULT_LIB__ GL_GLEXT_PROTOTYPES -LIBS += $$QMAKE_LIBS_CORE - -!if(winphone:equals(WINSDK_VER, 8.0)) { - LIBS += -ldwrite - INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/freetype/include - DEFINES += QT_WINRT_USE_DWRITE -} +LIBS += $$QMAKE_LIBS_CORE -ldwrite +INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/freetype/include SOURCES = \ main.cpp \ @@ -60,9 +47,4 @@ HEADERS = \ qwinrttheme.h \ qwinrtwindow.h -winphone:equals(WINSDK_VER, 8.0): { - SOURCES -= qwinrtplatformmessagedialoghelper.cpp - HEADERS -= qwinrtplatformmessagedialoghelper.h -} - OTHER_FILES += winrt.json |