7905b624fd
Clazy complains about all uses of QLatin1Char these days, but if one actually applies the fixit to turn out << QLatin1Char(' '); into out << u' '; the space is now streamed as an int (20), not as a space. Fix by providing an explicit char16_t overload. [ChangeLog][QtCore][QTextStream] Added op<<(char16_t). [ChangeLog][Important Behavior Changes] QTextStream streams char16_t's as QChars now instead of outputting the numeric value. If you want to preserve the old behavior, cast the char16_t to a numeric type, such as ushort or int, and stream that. This is backwards-compatible. Pick-to: 6.3 Change-Id: I42d422cdebb27d38ac1714b22ef186642ec407e7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> |
||
---|---|---|
.. | ||
readAllStdinProcess | ||
readLineStdinProcess | ||
resources | ||
stdinProcess | ||
test | ||
.gitattributes | ||
.gitignore | ||
BLACKLIST | ||
CMakeLists.txt | ||
qtextstream_integrity.qrc | ||
qtextstream.qrc | ||
rfc3261.txt | ||
task113817.txt | ||
tst_qtextstream.cpp |