qt5base-lts/tests/auto/corelib
Marc Mutz 7e0562c5ff fix compilation with conforming compilers (e.g. GCC >= 4.7)
In qdbus_cast(), qMetaTypeId<QDBusArgument> as well as
qvariant_cast<QDBusArgument> are used. They don't depend
on any template argument of qdbus_cast(), so their
definitions need to be available at function template
definition instead of instantiation time.

But the necessary Q_DECLARE_METATYPE(QDBusArgument)
was at the end of the header, after the defintion of
qdbus_cast(), which is too late for conformin compilers.

Fixed by moving it up just after the QDBusArgument
definition.

Similarly, in tst_qdatetime and tst_qvector, the
Q_DECLARE_METATYPE() for Qt::DateFormat and QVector<int>,
and with it the specialisation of QMetaTypeId<>, were
issued after the first use of meta typing; too late for
conforming compilers.

Change-Id: I25ca0b06e68d5184597a22708404a8f2040b2de1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-07-10 03:24:15 +02:00
..
animation Make animation autotests build without widgets 2012-06-07 00:39:05 +02:00
codecs Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
global Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
io Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
itemmodels Add a Q_PROPERTY for the sourceModel of a proxy model. 2012-07-04 15:51:50 +02:00
json Fixed QJsonObject::find() 2012-06-06 02:03:11 +02:00
kernel Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
mimetypes QMimeType: document preferredSuffix()/suffixes() better 2012-07-08 10:37:24 +02:00
plugin make use of $$[FOO/get] properties 2012-06-19 16:39:58 +02:00
statemachine Make qstatemachine autotest build without widgets 2012-06-07 00:38:41 +02:00
thread Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
tools fix compilation with conforming compilers (e.g. GCC >= 4.7) 2012-07-10 03:24:15 +02:00
xml Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00