qdbuscpp2xml: Don't silently ignore unregistered property types
Change-Id: Icf23804cc4992314785f07cdc6aaf76eeea56465 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
d38f635355
commit
b26ce2f0bf
|
|
@ -212,8 +212,11 @@ static QString generateInterfaceXml(const ClassDef *mo)
|
|||
access |= 2;
|
||||
|
||||
int typeId = QMetaType::type(mp.type.constData());
|
||||
if (!typeId)
|
||||
if (!typeId) {
|
||||
fprintf(stderr, PROGRAMNAME ": unregistered type: '%s', ignoring\n",
|
||||
mp.type.constData());
|
||||
continue;
|
||||
}
|
||||
const char *signature = QDBusMetaType::typeToSignature(typeId);
|
||||
if (!signature)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue