qt5base-lts/tests/auto/corelib/tools
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
..
qalgorithms Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qarraydata Add erase operation to QArrayDataOps 2012-07-03 01:55:39 +02:00
qbitarray Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qbytearray Don't use gcc extension for QByteArrayLiteral neither 2012-06-12 22:57:22 +02:00
qbytearraymatcher Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcache Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qchar tst_QChar: drop outdated testcase 2012-06-16 21:15:08 +02:00
qcontiguouscache Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qcryptographichash Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtCore] 2012-05-04 12:45:47 +02:00
qdate Improve QDate, QTime, QDateTime auto tests. 2012-07-06 13:10:24 +02:00
qdatetime fix compilation with conforming compilers (e.g. GCC >= 4.7) 2012-07-10 03:24:15 +02:00
qeasingcurve Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtCore] 2012-05-04 12:45:47 +02:00
qelapsedtimer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qexplicitlyshareddatapointer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfreelist Mark tst_qfreelist as parallel-safe 2012-06-01 03:16:04 +02:00
qhash Fix compilation of tests/auto/corelib/tools with QT_STRICT_ITERATORS 2012-06-12 04:30:20 +02:00
qline Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qlist Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlocale Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
qmap Fix loop conditions, after warnings from clang 2012-03-28 09:36:33 +02:00
qmargins Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpair QPair: specialise QTypeInfo based on the typeinfos of its arguments 2012-03-01 14:26:06 +01:00
qpoint Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qqueue Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qrect Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qregexp QRegExp: fix usage of uninitialized values 2012-05-19 01:45:04 +02:00
qregularexpression QRegularExpression: add more test data 2012-04-13 15:25:19 +02:00
qringbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qscopedpointer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qscopedvaluerollback Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qset containers: add C++11-style c{begin,end}() as alias for const{Begin,End}() 2012-03-17 09:10:57 +01:00
qsharedpointer Add some internal API for extracting a QSharedPointer<T> from QVariant. 2012-06-20 15:45:07 +02:00
qsize Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsizef Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstring Update the Unicode related autotests 2012-06-10 15:57:57 +02:00
qstring_no_cast_from_bytearray Ensure qstring.h compiles with QT_NO_CAST_FROM_BYTEARRAY 2012-05-09 12:07:47 +02:00
qstringbuilder Fix crash in QStringBuilder when concatenating data-less QLatin1String 2012-06-01 01:22:06 +02:00
qstringlist make QStringList::sort() to take a Qt::CaseSensitivity param 2012-04-12 10:39:22 +02:00
qstringmatcher Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qstringref Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qtextboundaryfinder Add QChar::SoftHyphen enum value 2012-07-03 14:39:02 +02:00
qtime Improve QDate, QTime, QDateTime auto tests. 2012-07-06 13:10:24 +02:00
qtimeline Make QTimeLine test significant. 2012-04-26 09:27:25 +02:00
qvarlengtharray Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qvector fix compilation with conforming compilers (e.g. GCC >= 4.7) 2012-07-10 03:24:15 +02:00
tools.pro Ensure qstring.h compiles with QT_NO_CAST_FROM_BYTEARRAY 2012-05-09 12:07:47 +02:00