From 54c2cebabdda0280b8443c6947b6fee02445e138 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 6 Feb 2020 11:08:13 +0100 Subject: Make it possible to enable DirectWrite font database A last minute change to fix compilation on Windows 7 accidentally disabled the opt-in of the DirectWrite font database, because the QT_USE_DIRECTWRITE3 define was only defined for platformsupport/fontdatabase. Change-Id: I25fb33b4d84044decd495f5638ffe1dca743f1b7 Reviewed-by: Lars Knoll --- src/plugins/platforms/windows/windows.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/platforms') diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro index 8a27bd2770..b14969cc3a 100644 --- a/src/plugins/platforms/windows/windows.pro +++ b/src/plugins/platforms/windows/windows.pro @@ -10,6 +10,8 @@ qtHaveModule(platformcompositor_support-private): QT += platformcompositor_suppo qtConfig(accessibility): QT += accessibility_support-private qtConfig(vulkan): QT += vulkan_support-private +qtConfig(directwrite3): DEFINES *= QT_USE_DIRECTWRITE2 QT_USE_DIRECTWRITE3 + LIBS += -ldwmapi QMAKE_USE_PRIVATE += gdi32 -- cgit v1.2.3