[clazy] [Bug 389994] new-check: Avoid explicit qRegisterMetaType / Q_DECLARE_METATYPE

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Apr 24 11:17:26 BST 2018


https://bugs.kde.org/show_bug.cgi?id=389994

--- Comment #3 from aklitzing at gmail.com ---
This allows moc to generate "QMetaObject::RegisterMethodArgumentMetaType" with
qRegisterMetaType. If you use a forward-declaration the moc is not enable to
recognize it and won't generate qRegisterMetaType.

Sadly if you remove "QObject" of DeviceListEntry it is the same problem. Should
be available for Q_GADGET, too. That should work but moc needs to be fixed for
that. :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list