qt6-bb10/tests/auto/tools
Gabriel de Dietrich e18f4bca28 moc: Don't link to inexistent parent staticMetaObject
Contrarily to Q_OBJECTs, Q_GADGETs are not guaranteed to
descend from a Q_GADGET. Here, we ensure that if the first
superclass is a Q_GADGET, then the derived class will be
treated as one. This allows gaps in the Q_GADGET hierarchy
while preventing from trying to link to the inexistent
staticMetaObject if there's no such ancestor.

Change-Id: If10fb952e23655102a425bb18fe8babaf447a47f
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
2015-01-13 11:25:53 +01:00
..
moc moc: Don't link to inexistent parent staticMetaObject 2015-01-13 11:25:53 +01:00
qdbuscpp2xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qdbusxml2cpp Add annotation to rename methods created by qdbusxml2cpp 2015-01-05 12:29:14 +01:00
qmake Update license headers and add new license files 2014-09-24 12:26:19 +02:00
rcc Add extra declarations to make rcc output pass -Wmissing-declarations 2014-10-25 11:48:43 +02:00
uic Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tools.pro test: Disable tst_uic when -no-widgets is used 2013-04-22 16:24:44 +02:00