summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qharfbuzzng_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-11-18 13:39:32 +0100
committerLars Knoll <lars.knoll@qt.io>2016-11-24 08:38:39 +0000
commit0861c2176c6dc1c69b733c1a843c2db5ec8ea786 (patch)
treec7d10323221363ef841899d8e955ce78ae9efeae /src/gui/text/qharfbuzzng_p.h
parent72ed34b792f5acca5e0ada3b3d753b7a16274ff6 (diff)
Use harfbuzz feature to check for HarfBuzz
instead of defining a special macro for it. Change-Id: I715380717f7d871571f663be30b73f7d95d83d71 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/text/qharfbuzzng_p.h')
-rw-r--r--src/gui/text/qharfbuzzng_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/text/qharfbuzzng_p.h b/src/gui/text/qharfbuzzng_p.h
index 95a21eedb6..fabf222bae 100644
--- a/src/gui/text/qharfbuzzng_p.h
+++ b/src/gui/text/qharfbuzzng_p.h
@@ -53,6 +53,9 @@
//
#include <QtGui/private/qtguiglobal_p.h>
+
+QT_REQUIRE_CONFIG(harfbuzz);
+
#include <QtCore/qchar.h>
#include <harfbuzz/hb.h>