summaryrefslogtreecommitdiffstats
path: root/src/gui/text/text.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/text.pri')
-rw-r--r--src/gui/text/text.pri6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/text/text.pri b/src/gui/text/text.pri
index a1e7eb1652..ba6ddb32f0 100644
--- a/src/gui/text/text.pri
+++ b/src/gui/text/text.pri
@@ -114,13 +114,17 @@ unix:x11 {
OBJECTIVE_SOURCES += \
text/qfontengine_coretext.mm \
text/qfontengine_mac.mm
+ contains(QT_CONFIG, harfbuzz) {
+ DEFINES += QT_ENABLE_HARFBUZZ_FOR_MAC
+ }
}
qpa {
SOURCES += \
text/qfont_qpa.cpp \
text/qfontengine_qpa.cpp \
- text/qplatformfontdatabase_qpa.cpp
+ text/qplatformfontdatabase_qpa.cpp \
+ text/qrawfont_qpa.cpp
HEADERS += \
text/qplatformfontdatabase_qpa.h