summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-01-06 14:55:55 -0200
committerQt by Nokia <qt-info@nokia.com>2012-03-22 18:59:45 +0100
commite2a8ad145ec0b31ce78508774935f22026ceba63 (patch)
tree032f5732986c3bc0a7dfdfebd0d5b441bfdd3d6e /src/gui
parent07029c23f155616b2e31fe557d0c2d6d8def774b (diff)
Fix the build of -qt-freetype
The symbol must be exported from QtGui for the plugins to be able to see it. Also, fix the build in namespaced case: cannot use extern in QtPlatformSupport because it's not compiled into the Qt namespace. Change-Id: I029533f3524e3cbf6c87aed79c1f2e7b55aebb9b Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/text/qfontengine_ft_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_ft_p.h b/src/gui/text/qfontengine_ft_p.h
index 83b51685c0..2add894c19 100644
--- a/src/gui/text/qfontengine_ft_p.h
+++ b/src/gui/text/qfontengine_ft_p.h
@@ -364,6 +364,7 @@ inline QFontEngineFT::Glyph *QFontEngineFT::QGlyphSet::getGlyph(glyph_t index, Q
return glyph_data.value(GlyphAndSubPixelPosition(index, subPixelPosition));
}
+extern Q_GUI_EXPORT FT_Library qt_getFreetype();
QT_END_NAMESPACE