summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengine_ft_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-06-08 13:12:21 +0200
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-09 13:01:16 +0200
commitb97215b04c0bf12ecfd51ccdeaedd1fab5e8bc03 (patch)
tree9e9e2e3935b7d4f99047f4f1fbcb958446ac5448 /src/gui/text/qfontengine_ft_p.h
parentdc25fb72782b3498747d39124847243898bebb21 (diff)
Duplicate some harfbuzz symbols inside Qt.
This is done to remove a compile-time dependency on the harfbuzz source files inside qtbase/src/3rdparty. These are not accessible now that QT_SOURCE_TREE is not accessible as a qmake variable anymore. With the refactor branch we might solve this differently, but for now this is how we get svg and declarative to compile. Change-Id: I5dad23f2ea1f650e2621c1c1fcf39632a3a22ae8 Reviewed-on: http://codereview.qt.nokia.com/378 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/gui/text/qfontengine_ft_p.h')
-rw-r--r--src/gui/text/qfontengine_ft_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_ft_p.h b/src/gui/text/qfontengine_ft_p.h
index 2549fc5ae1..4ee26582b4 100644
--- a/src/gui/text/qfontengine_ft_p.h
+++ b/src/gui/text/qfontengine_ft_p.h
@@ -70,7 +70,11 @@
#include <qmutex.h>
-#include <harfbuzz-shaper.h>
+#if defined (QT_BUILD_GUI_LIB)
+# include "private/qharfbuzz_p.h"
+#else
+# include "private/qharfbuzz_copy_p.h"
+#endif
QT_BEGIN_NAMESPACE