summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/platforms/windows/windows.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro
index 453265405a..01976a9936 100644
--- a/src/plugins/platforms/windows/windows.pro
+++ b/src/plugins/platforms/windows/windows.pro
@@ -75,6 +75,9 @@ HEADERS += \
qwindowstheme.h \
qwindowsdialoghelpers.h
+# Enable access to HB_Face in harfbuzz includes included by qfontengine_p.h.
+DEFINES *= QT_COMPILES_IN_HARFBUZZ
+
contains(QT_CONFIG, freetype) {
DEFINES *= QT_NO_FONTCONFIG
DEFINES *= QT_COMPILES_IN_HARFBUZZ