qt5base-lts/tests/auto/gui
Thiago Macieira f4ebb06189 Remove Q_PACKED from structures that do not need to be packed
These structures do not need to be packed. With some compilers, Q_PACKED
was defined to be empty, which means that the code was working fine
without packing. Or there were some lingering problems on those
platforms (MSVC) and we're now exposing them in all platforms.

Actually, it shouldn't be a problem anywhere. QCharAttributes, quint24
and QFontEngineQPA::Glyph have only char/uchar members, so they're
packed already (they have alignof == 1). The only platform where that
wasn't true was ARM OABI, which we don't support anymore.

QFontEngineQPA::Header seems to always come from a QByteArray, so it
doesn't neeed to be packed either. However, just to be sure, I'm
inserting a check for alignment.

And QFontEngineQPA::Block isn't used anywhere.

Change-Id: Iacfa25edf336ef2a03aeb6e40ae90937a21661ae
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
2013-09-13 11:47:06 +02:00
..
image Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2013-07-24 15:09:38 +02:00
itemmodels QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
kernel QPluginLoader: add 'staticPlugins' function 2013-09-04 09:38:35 +02:00
math3d Add operator[] to QVectorND classes 2013-08-27 17:50:40 +02:00
painting Remove Q_PACKED from structures that do not need to be packed 2013-09-13 11:47:06 +02:00
qopengl test: Mark tst_qopengl as insignificant on Win7 + Angle 2013-06-07 18:07:26 +02:00
text Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro Remove qopengl auto test when Qt is not configured with OpenGL support 2013-09-02 14:59:02 +02:00