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 <lars.knoll@qt.io>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2020-02-06 11:08:13 +01:00
parent 04b50ed011
commit 54c2cebabd

View File

@ -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