diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2009-11-10 17:08:21 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2009-11-10 17:25:00 (GMT) |
commit | 7005ca9f0f6b1e535ad2b26d3fcf46dffacc3f13 (patch) | |
tree | f387376fbb98f01b995245726aa5f22f3e2adcf7 /tests/arthur | |
parent | d752092080c4094bb4736108cff95a4b08abd750 (diff) | |
download | Qt-7005ca9f0f6b1e535ad2b26d3fcf46dffacc3f13.zip Qt-7005ca9f0f6b1e535ad2b26d3fcf46dffacc3f13.tar.gz Qt-7005ca9f0f6b1e535ad2b26d3fcf46dffacc3f13.tar.bz2 |
Qt covers BC break in Symbian
Workaround: fntstore.h has an inlined function
'COpenFont* CBitmapFont::OpenFont()' that returns a private data member.
The header will change between minor SDK versions, thus break BC. But
Qt has to build on any SDK version and run on other versions of Symbian
OS. Also Qt does not want to deliver that BC to Qt based apps.
This hack performs the needed pointer arithmetic to get the right
COpenFont* pointer, no matter if the 'Flexible Memory Model' is already
supported or not.
The author is not proud of this commit.
Task-number: QT-2250
Reviewed-by: Iain
Reviewed-by: Shane Kearns
modified: src/gui/text/qfontdatabase_s60.cpp
Diffstat (limited to 'tests/arthur')
0 files changed, 0 insertions, 0 deletions