Re-add deprecated symbol for ABI compatibility with Qt 5.1.

When b0b786a2f0 deprecated
QFontDatabase::supportsThreadedFontRendering() it made the
function inline also. That way compilers like gcc did not
export the symbol anymore.

Change-Id: If9c343eaa2ff90540decbc19b0af33d439c0bbaa
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Harri Porten 2013-10-11 08:07:27 +02:00 committed by The Qt Project
parent 40d4c1b2ed
commit 257e98917c
2 changed files with 7 additions and 1 deletions

View File

@ -151,7 +151,7 @@ public:
static bool removeAllApplicationFonts();
#if QT_DEPRECATED_SINCE(5, 2)
QT_DEPRECATED static inline bool supportsThreadedFontRendering() { return true; }
QT_DEPRECATED static bool supportsThreadedFontRendering();
#endif
static QFont systemFont(SystemFont type);

View File

@ -267,6 +267,12 @@ bool QFontDatabase::removeAllApplicationFonts()
return true;
}
// QT_DEPRECATED_SINCE(5, 2)
bool QFontDatabase::supportsThreadedFontRendering()
{
return true;
}
/*!
\internal
*/