diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2011-01-31 11:37:53 (GMT) |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2011-01-31 11:41:01 (GMT) |
commit | ca1601ae78963fbaa668d82f63988ad7b41f23bc (patch) | |
tree | e59216ee4b1bd7a25b1427360bd7fbc85b21a27e /src/gui/text/qfontdatabase_s60.cpp | |
parent | 88c1670a658d55257d50181d741afe562e44344b (diff) | |
download | Qt-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.cpp | 2 |
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() { |