Qt 5 compatibility mode / qstring-ref should not be used for Qt 6
qstring-ref does not apply for Qt 6 where the Ref
variants are no longer part of QString
.
Probably the best approach would be to introduce a Qt 5 compatibility mode similar to what Clazy already offers for Qt 4. qstring-ref should be enabled only for Qt 5.