[Development] qmllint's MaxWarnings and how to detect commits introducing new qmllint warnings
Sérgio Martins
sergio.martins at kdab.com
Sun Aug 9 22:33:27 CEST 2026
On 2026-08-04 15:14, Sami Shalayel via Development wrote:
> Hi everyone,
>
>
> TL;DR: How do you detect commits that introduce new qmllint warnings
> in your projects, and do you need a mechanism for that in qmllint?
>
> (...)
Hi,
I use MaxWarnings=0 and insert suppressions like "// qmllint disable
<category>" if needed.
If it's an old project with thousands of warnings, then instead, I edit
.qmllint.ini and set all categories to "info" and only bump
them to "warning" once they're clean.
Regards,
--
Sérgio Martins | sergio.martins at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46 563 731020, USA +1-866-777-KDAB(5322)
KDAB - Trusted Software Excellence
More information about the Development
mailing list