qt6-bb10/tests/auto/tools
Fabian Kosmale fa987d4441 MetaObject: Store the QMetaType of the methods
This does the analog of 46f407126e for the
methods we care about (signals, slots, Q_INVOKABLEs). In addition to the
actual QMetaType, we store an array with offsets so that we later can do
a mapping from methodIndex to metatype.

The newly added QMetaMethod::{return,parameter}MetaType methods can then
be used to retrieve the metatypes.

This does however require that all involved types are complete. This is
unfortunately not a feasible requirement. Thus, we only populate the
metatype array on a best effort basis. For any incomplete type, we store
QMetaType::Unknown. Then, when accessing the metatype, we fall back to
the old string based code base if it's Unknown.

Squashes "moc: support incomplete types" and  "Fix compile failures
after QMetaMethod change"


Fixes: QTBUG-82932
Change-Id: I6b7a587cc364b7cad0c158d6de54e8a204289ad4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-06-02 22:42:15 +02:00
..
moc MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbuscpp2xml MetaObject: Store the QMetaType of the methods 2020-06-02 22:42:15 +02:00
qdbusxml2cpp Regenerate tests/auto/tools 2019-11-12 17:25:41 +00:00
qmake Regenerate Tests 2020-01-16 08:16:17 +00:00
qmakelib Build qmake with QT_USE_STRINGBUILDER 2020-05-05 18:41:10 +02:00
rcc Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
uic uic/Python: import all the classes for QtCore and QtGui 2020-05-05 22:04:51 +02:00
CMakeLists.txt Get rid of QRegExp usage in rcc 2020-03-25 09:34:37 +01:00
tools.pro