[clazy] [Bug 362063] New: [qobject-macro] False positive when implementing qt_metacall manually

Volker Krause via KDE Bugzilla bugzilla_noreply at kde.org
Fri Apr 22 08:17:42 BST 2016


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

            Bug ID: 362063
           Summary: [qobject-macro] False positive when implementing
                    qt_metacall manually
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: vkrause at kde.org
                CC: smartins at kde.org

If you implement the virtuals defined by Q_OBJECT yourself, bypassing moc, the
missing Q_OBJECT warning still triggers. It's a very rare fringe case, of
course ;)

Reproducible: Always

Steps to Reproduce:
An example can be found e.g. in GammaRay, core/multisignalmapper.cpp,
GammaRay::MultiSignalMapperPrivate. The most prominent example for this in Qt
is QSignalSpy, which is excluded from this check already by being a template
though.

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



More information about the Unassigned-bugs mailing list