qt5base-lts/tests/auto/corelib/kernel
Olivier Goffart 7c77013c7f Fix source incompatibility while connecting signals with forward declared arguments
QObject::connect tries to determine if the arguments are registered
metatypes. This used to work even for arguments that were forward
declared. But now, the metatype system tries to call
QtPrivate::IsQEnumHelper<T>::Value to know if it is registered.
That fails on gcc if T is forward declared.

Apparently gcc needs to know the full type of T to pass it in the
ellipsis function, even within a sizeof expression.

So change the ellipsis expression to a template one.

Task-number: QTBUG-44496
Change-Id: I7fa07bd3cde470b134c2ec53b0d581333d16a6f1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-03-18 07:33:19 +00:00
..
qcoreapplication Make QCoreApplication::applicationName available after app destruction. 2015-03-05 10:29:27 +00:00
qeventdispatcher Update copyright headers 2015-02-11 06:49:51 +00:00
qeventloop Update copyright headers 2015-02-11 06:49:51 +00:00
qmath Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaenum Reverse iteration in QMetaEnum::valueToKeys(). 2015-02-26 09:49:10 +00:00
qmetamethod Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaobject Output registered enums in qDebug operator for QFlags. 2015-02-26 12:16:51 +00:00
qmetaobjectbuilder Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaproperty Update copyright headers 2015-02-11 06:49:51 +00:00
qmetatype Make QPersistentModelIndex an internal meta-type 2015-03-06 07:07:39 +00:00
qmimedata Update copyright headers 2015-02-11 06:49:51 +00:00
qobject Fix source incompatibility while connecting signals with forward declared arguments 2015-03-18 07:33:19 +00:00
qpointer Update copyright headers 2015-02-11 06:49:51 +00:00
qsharedmemory Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
qsignalblocker Update copyright headers 2015-02-11 06:49:51 +00:00
qsignalmapper Update copyright headers 2015-02-11 06:49:51 +00:00
qsocketnotifier Update copyright headers 2015-02-11 06:49:51 +00:00
qsystemsemaphore Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
qtimer Update copyright headers 2015-02-11 06:49:51 +00:00
qtranslator Update copyright headers 2015-02-11 06:49:51 +00:00
qvariant Fix building tests on QNX 2015-03-09 11:23:24 +00:00
qwineventnotifier Update copyright headers 2015-02-11 06:49:51 +00:00
kernel.pro iOS: Skip tests that don't make sense or don't work on the platform 2015-03-16 14:25:27 +00:00