The preferred way is always to use one of the built-in clang warnings and make clazy spend less CPU cycles. I wonder why these are just not marked as deprecated.
Eitherway your check is useful and we can disable it for Qt >= 5.14 if we get to deprecate them upstream.
cache the name, 1 line before
no need to call c_str
these minimums are probably a copy-paste from another config.json and not really needed ?
Also, please edit checks.json, add your check there, with level "0", since it doesn't have false positives.
That should move the files to the correct folder automatically.