diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-04-14 09:37:58 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-05-26 17:51:47 +0000 |
commit | 16b95b65a6fea501dade6e3f5f1ad48f7dfaa173 (patch) | |
tree | 9e9d8858160bc5a1e066492fff0364ff0b4f778f /mkspecs/solaris-cc-64-stlport | |
parent | 10d53a3f0e09ec2ef437619bb1bb0dbb40f7ee8b (diff) |
Q*GlyphCache: de-inline dtor and export vtable
The destructor is the first virtual method. By not defining it
out-of-line, we provoke multiple copies of vtables, not all of
which can be merged by the linker. If the linker fails, RTTI
such as dynamic_cast and catch-blocks involving the type will
not work.
Additionally, QFontEngineGlyphCache was not exported, and
therefore also not its vtable, making it impossible for
users outside of QtGui to get a unique RTTI for the class.
Change-Id: Ib265945934216bb609629431eb4c71996d4fd39d
Reported-by: Volker Krause <volker.krause@kdab.com>
Task-number: QTBUG-45582
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'mkspecs/solaris-cc-64-stlport')
0 files changed, 0 insertions, 0 deletions