summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzzng.pri
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-02-25 15:33:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-14 18:18:26 +0100
commita7e58bf253d08b896df3bbf247bbbaae718e426d (patch)
treef54af4053622902ea9e0dfae2bac778799b82d18 /src/3rdparty/harfbuzzng.pri
parent4dcf40b30894c0535f8a06235d01928cd434819d (diff)
Build bundled HarfBuzz-NG outside QtGui
Being a part of QtGui, HarfBuzz-NG breaks build with -Werror. Instead of disabling a particular warnings-as-errors, build a prefixed static library and make it a link-time dependency. Change-Id: Id0be1f0e0034092d50f83cd364d5c65940fee869 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/harfbuzzng.pri')
-rw-r--r--src/3rdparty/harfbuzzng.pri6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/harfbuzzng.pri b/src/3rdparty/harfbuzzng.pri
new file mode 100644
index 0000000000..74433688f6
--- /dev/null
+++ b/src/3rdparty/harfbuzzng.pri
@@ -0,0 +1,6 @@
+contains(QT_CONFIG, harfbuzz) {
+ INCLUDEPATH += $$PWD/harfbuzz-ng/include
+ LIBS_PRIVATE += -L$$QT_BUILD_TREE/lib -lqtharfbuzzng$$qtPlatformTargetSuffix()
+} else:contains(QT_CONFIG, system-harfbuzz) {
+ LIBS_PRIVATE += -lharfbuzz
+}