diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2016-02-26 01:25:29 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2016-02-26 09:12:23 +0000 |
| commit | 0a8fd9c620adfc5dd38f41fcd14537296fde13b6 (patch) | |
| tree | 5c4d5bee89f1c7cfb728f1779af250805bb1fb0a /src/gui/opengl/qopenglversionfunctions.cpp | |
| parent | c320d5221f166d3657771ae55585cba051f8caef (diff) | |
tst_qguimetatype::flags(): port to QTypeInfoQuery
QTypeInfoQuery was introduced for 5.6 to decouple isStatic
and isRelocatable so old code continues to work. But since
this test still uses !isStatic to mean trivially-relocatable,
it will fail as soon as one of the checked types is marked as
Q_RELOCATABLE_TYPE instead of Q_MOVABLE_TYPE.
Incidentally, such a change is in the pipeline for Qt 5.7/5.8,
so fix the test by porting to QTypeInfoQuery. Do this in 5.6,
because that's when QTypeInfoQuery was introduced.
Change-Id: I06f815f26ca9b430e124c4a2f8de2a729999762b
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/opengl/qopenglversionfunctions.cpp')
0 files changed, 0 insertions, 0 deletions
