qstring-uneeded-heap-allocations helps whenever the code allocates memory But it doesn't convert all cases needed to use QT_NO_CAST_FROM_ASCII For all the other cases where there's no allocation, we need a new check with fixit Reproducible: Always