summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qharfbuzz_copy_p.h
diff options
context:
space:
mode:
authorTapani Mikola <tapani.mikola@nokia.com>2011-06-10 09:25:54 +0300
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-10 09:40:55 +0200
commitdb37aa1004f1e2489b94f1d9cc21630b62e03552 (patch)
tree83fa655c0c306d267e9e7e4f97792b048780a855 /src/gui/text/qharfbuzz_copy_p.h
parentafd5d43b0ca77f1cf27bc4e0a05bce6570edb0c9 (diff)
Fontengine buildfix for xcb platform plugin.
Change-Id: Ic909e1ac08163e62634643c68862e802a016b911 Reviewed-on: http://codereview.qt.nokia.com/442 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui/text/qharfbuzz_copy_p.h')
-rw-r--r--src/gui/text/qharfbuzz_copy_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/text/qharfbuzz_copy_p.h b/src/gui/text/qharfbuzz_copy_p.h
index 07503240a2..74b824ab35 100644
--- a/src/gui/text/qharfbuzz_copy_p.h
+++ b/src/gui/text/qharfbuzz_copy_p.h
@@ -34,6 +34,9 @@
headers for font and text classes without having to pull in the full
harfbuzz library under QTDIR/src/3rdparty/harfbuzz/src
*/
+#if defined(QT_BUILD_GUI_LIB) || defined(QT_COMPILES_IN_HARFBUZZ)
+#include <private/qharfbuzz_p.h>
+#else
extern "C" {
@@ -98,4 +101,6 @@ typedef struct {
}
+#endif // ifdef QT_BUILD_GUI_LIB
+
#endif // QHARFBUZZ_COPY_P_H