Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.0, 4.6.1, 4.6.2, 4.7.0
-
None
-
7d71e65658d27c200f97b93781c3c7f7c313ff56
Description
There is a typo in src/gui/text/qfontdatabase_s60.cpp as follows.
src/gui/text/qfontdatabase_s60.cpp
const QFontEngineS60Extensions *QFontDatabaseS60StoreImplementation::extension(const QString &typeface) const { // snip const CBitmapFont *bitmapFont = static_cast<CBitmapFont*>(font); COpenFont *openFont = #ifdef FNTSTORE_H_INLINES_SUPPORT_FMM bitmapFont->openFont(); // *** MUST BE bitmapFont->OpenFont(); *** #else OpenFontFromBitmapFont(bitmapFont); #endif // FNTSTORE_H_INLINES_SUPPORT_FMM // snip
The above code is okay if FNTSTORE_H_INLINES_SUPPORT_FMM is not defined as the code above around the typo won't be compiled. However, once FNTSTORE_H_INLINES_SUPPORT_FMM is defined somewhere, the code will fail to compile as CFbsBitmapFont has not openFont() API but OpenFont().