Bug 506292 - fully-qualified-moc-types should explain how/why the issue "breaks interaction with QML"
Summary: fully-qualified-moc-types should explain how/why the issue "breaks interactio...
Status: REPORTED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-27 20:19 UTC by Jack Hill
Modified: 2025-06-27 20:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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