Fix the build of -qt-freetype
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 6 Jan 2012 16:55:55 +0000 (14:55 -0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Mar 2012 17:59:45 +0000 (18:59 +0100)
commite2a8ad145ec0b31ce78508774935f22026ceba63
tree032f5732986c3bc0a7dfdfebd0d5b441bfdd3d6e
parent07029c23f155616b2e31fe557d0c2d6d8def774b
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>
src/gui/text/qfontengine_ft_p.h
src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp