[clazy] [Bug 506292] New: fully-qualified-moc-types should explain how/why the issue "breaks interaction with QML"

Jack Hill bugzilla_noreply at kde.org
Fri Jun 27 21:19:42 BST 2025


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

            Bug ID: 506292
           Summary: fully-qualified-moc-types should explain how/why the
                    issue "breaks interaction with QML"
    Classification: Developer tools
           Product: clazy
      Version First unspecified
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: jackhill3103 at gmail.com
                CC: smartins at kde.org
  Target Milestone: ---

SUMMARY

For example, in Elisa we have the following slot:
https://invent.kde.org/multimedia/elisa/-/blob/0391d206909bd3cabcde39a490727d477bf2d9a2/src/viewmanager.h#L157

which is called in QML here:
https://invent.kde.org/multimedia/elisa/-/blob/0391d206909bd3cabcde39a490727d477bf2d9a2/src/qml/NavigationActionBar.qml#L61

This function call works as expected, but the clazy check claims that the issue
"breaks interaction with QML". So... please explain why I should bother to fix
this issue if the existing code already seems to work.

STEPS TO REPRODUCE
1. Clone Elisa: git at invent.kde.org:multimedia/elisa.git
2. Build and run clazy level 0 checks

OBSERVED RESULT
fully-qualified-moc-types issue at the location in the code I linked above. The
issue description says that the issue breaks interaction with QML, but the code
itself works fine.

EXPECTED RESULT
Either the warning doesn't appear (because the code works fine), or the issue
explains how the QML interaction is broken (perhaps it breaks the slot in a way
that we're currently not using it for).

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250620
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION

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


More information about the Unassigned-bugs mailing list