-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.7.2
-
None
-
Symbian
Q_SYMBIAN_HAS_FONTTABLE_API and Q_SYMBIAN_HAS_GLYPHOUTLINE_API are currently defined in src/gui/text/qfontengine_s60_p.h. These need to be defined for Symbian^4 in order to use Symbian^4 specific features. But since surprisingly, Symbian^4 does not define a constant to test the OS version at preprocessor time (or I was just too silly to find it), we have a hack here. The definition of Q_SYMBIAN_HAS_FONTTABLE_API depends on an other arbitrary define "SYMBIAN_GDI_GLYPHDATA", which is nothing else than piggybacking.
Solution: define Q_SYMBIAN_HAS_FONTTABLE_API and Q_SYMBIAN_HAS_GLYPHOUTLINE_API in src/gui/text/text.pri, depending on SYMBIAN_VERSION, or whatever there is to determine the OS in the qmake phase.