Qt-QLatin1StringNonAscii

Finds places where you’re using QLatin1String with a non-ascii literal

Required inputs: IR

Finds places where you're using QLatin1String with a non-ascii literal like QLatin1String("é") or QLatin1String("\351"). This is almost always a mistake, since source files are usually in UTF-8.

This rule is based on clazy rule qlatin1string-non-ascii

Possible Messages

Key

Text

Severity

Disabled

nonascii_qlatin1string

QLatin1String with non-ascii literal.

None

False

Options

level

level : int = 1

Importance level of the rule as given for clazy. 0 is most desirable, higher values fall off in quality.