summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qharfbuzz_copy_p.h
diff options
context:
space:
mode:
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