dwww Home | Show directory contents | Find package

# tr-non-literal

Finds calls to `QObject::tr()` with non literal argument.

Example: `tr(myStr.toUtf8());`

This usage of `tr()` might be incorrect because `lupdate` won't be able to pick up the strings for translation.
If the possible values have been marked with `QT_TR_NOOP` or `QT_TRANSLATE_NOOP`,
then this usage of `tr()` is actually fine, i.e. the clazy warning is a false-positive in that case.

Generated by dwww version 1.15 on Mon Jun 24 13:43:15 CEST 2024.