Bug 506292

Summary: fully-qualified-moc-types should explain how/why the issue "breaks interaction with QML"
Product: [Developer tools] clazy Reporter: Jack Hill <jackhill3103>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: smartins
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jack Hill 2025-06-27 20:19:42 UTC
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@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