summaryrefslogtreecommitdiffstats
path: root/src/gui/text/text.pri
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2013-09-07 22:55:58 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-08 04:21:56 +0200
commit19b7afca523f221494bd165680f1aa9ddf3a0e31 (patch)
treebb62993374aa5187f7710f8b20a9945bdf832afc /src/gui/text/text.pri
parent9ff76c27b9031ae7c49c4c9e8b5a3bea1e0e3c78 (diff)
Add HarfBuzz-to-Qt bridging code
Change-Id: I2f61566fe69d18b80d5831238beb27b34b7be1c8 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/text.pri')
-rw-r--r--src/gui/text/text.pri9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/text/text.pri b/src/gui/text/text.pri
index e9ea2a3f83..59a6f346e2 100644
--- a/src/gui/text/text.pri
+++ b/src/gui/text/text.pri
@@ -84,3 +84,12 @@ SOURCES += \
HEADERS += \
text/qplatformfontdatabase.h
+
+contains(QT_CONFIG, harfbuzz)|contains(QT_CONFIG, system-harfbuzz) {
+ DEFINES += QT_ENABLE_HARFBUZZ_NG
+
+ include($$PWD/../../3rdparty/harfbuzz.pri)
+
+ SOURCES += text/qharfbuzzng.cpp
+ HEADERS += text/qharfbuzzng_p.h
+}