Warning, /sdk/clazy/docs/checks/README-tr-non-literal.md is written in an unsupported language. File is not indexed.
0001 # tr-non-literal 0002 0003 Finds calls to `QObject::tr()` with non literal argument. 0004 0005 Example: `tr(myStr.toUtf8());` 0006 0007 This usage of `tr()` might be incorrect because `lupdate` won't be able to pick up the strings for translation. 0008 If the possible values have been marked with `QT_TR_NOOP` or `QT_TRANSLATE_NOOP`, 0009 then this usage of `tr()` is actually fine, i.e. the clazy warning is a false-positive in that case.