summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontdatabase_s60.cpp
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2011-01-31 11:37:53 (GMT)
committerYoann Lopes <yoann.lopes@nokia.com>2011-01-31 11:41:01 (GMT)
commitca1601ae78963fbaa668d82f63988ad7b41f23bc (patch)
treee59216ee4b1bd7a25b1427360bd7fbc85b21a27e /src/gui/text/qfontdatabase_s60.cpp
parent88c1670a658d55257d50181d741afe562e44344b (diff)
downloadQt-ca1601ae78963fbaa668d82f63988ad7b41f23bc.zip
Qt-ca1601ae78963fbaa668d82f63988ad7b41f23bc.tar.gz
Qt-ca1601ae78963fbaa668d82f63988ad7b41f23bc.tar.bz2
Fixes compilation when using FreeType on Symbian.
Diffstat (limited to 'src/gui/text/qfontdatabase_s60.cpp')
-rw-r--r--src/gui/text/qfontdatabase_s60.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qfontdatabase_s60.cpp b/src/gui/text/qfontdatabase_s60.cpp
index 6ba035e..6d8d7c3 100644
--- a/src/gui/text/qfontdatabase_s60.cpp
+++ b/src/gui/text/qfontdatabase_s60.cpp
@@ -331,6 +331,7 @@ void QFontEngineMultiS60::loadEngine(int at)
Q_ASSERT(engines[at]);
}
+#ifdef QT_NO_FREETYPE
static bool addFontToScreenDevice(int screenDeviceFontIndex,
const QSymbianFontDatabaseExtrasImplementation *dbExtras)
{
@@ -381,6 +382,7 @@ static bool addFontToScreenDevice(int screenDeviceFontIndex,
family->writingSystems[system] = QtFontFamily::Supported;
return true;
}
+#endif
static void initializeDb()
{