| Summary: | qt6-qlatin1stringchar-to-u creates invalid code | ||
|---|---|---|---|
| Product: | [Developer tools] clazy | Reporter: | Kai Koehne <kai.koehne> |
| Component: | general | Assignee: | Lucie Gerard <lucie.gerard> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | CC: | alexander.lohnau, lucie.gerard, smartins |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
The Qt6 porting checks are deprecated with clazy 1.16 |
qt6-qlatin1stringchar-to-u creates code that doesn't compile STEPS TO REPRODUCE 1. run clazy fix for e.g. QLatin1String("hello world"); OBSERVED RESULT clazy will fix it to u"hello world", which cannot be assigned to QString EXPECTED RESULT clazy should fix it to u"hello world"_qs