qt5base-lts/tests/auto/corelib/kernel
Olivier Goffart b49327145e QMetaMethod::invoke: compare the QMetaType id of the return types
Since Qt5, the QMetaObject do not contains the string name of the
builtin types, but only the QMetaType id. QMetaMethod::typeName
convert back from the id to the string. But if the type is aliased,
the string of the main type is returned.

This was the case for example for qint64 which is transformed to
"qlonglong".

This causes a regression in QMetaType::invoke when trying to invoke a
method which return an aliased type, since the string comparison would
fail.

Fix the problem by also comparing the metatype id.

Changelog: QMetaMethod::invoke: Fix return of aliased meta type

Task-number: QTBUG-33222
Change-Id: Iec7b99dcbf7b23eb818de74f413e4451ce510ac4
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2013-08-29 17:03:41 +02:00
..
qcoreapplication Fix dead lock in the Qt event handling 2013-07-10 17:57:10 +02:00
qeventdispatcher Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qeventloop Add auto-test for running the QEventLoop test with the GUI dispatcher 2013-08-12 14:27:57 +02:00
qmath Fix qmath autotest for arm 2013-03-14 19:49:38 +01:00
qmetamethod Distinguish between 'mac' and 'macx' qmake scopes 2013-03-05 20:59:45 +01:00
qmetaobject QMetaMethod::invoke: compare the QMetaType id of the return types 2013-08-29 17:03:41 +02:00
qmetaobjectbuilder Distinguish between 'mac' and 'macx' qmake scopes 2013-03-05 20:59:45 +01:00
qmetaproperty Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmetatype Reduce qmetatype autotest build time for Windows CE. 2013-04-17 19:48:38 +02:00
qmimedata tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qobject tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
qpointer Make it possible to use QPointer<const T> 2013-02-13 15:15:56 +01:00
qsharedmemory Skip unstable autotest 2013-03-12 18:13:37 +01:00
qsignalmapper Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsocketnotifier Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsystemsemaphore Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qtimer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtranslator tst_qtranslator: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:20:05 +02:00
qvariant Add basic conversion functions from QVariant(QJsonValue). 2013-06-14 15:50:49 +02:00
qwineventnotifier Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
kernel.pro Android: disable unsupported autotests 2013-03-12 09:16:42 +01:00