The module contains unsupported Qt 5 APIs
Go to file
Thiago Macieira dd0ddad631 QText{En,De}coder: use DefaultConversion
In Qt 5, the flag to write the BOM was a negative: if IgnoreHeader
wasn't set, we would write it. That was the default in Qt 5 because
DefaultConversion was 0. But now it's a positive flag, DefaultConversion
was updated to set it, but we forgot to use it in the constructors of
these two classes.

[ChangeLog][Qt5CoreCompat][QTextEncoder] Fixed a bug that caused
QTextEncoder not to write the Byte Order Mark for UTF codecs when the
constructor without explicit flags was used.

Fixes: QTBUG-122795
Pick-to: 6.5 6.7
Change-Id: If1bf59ecbe014b569ba1fffd17c459af4e0e00c9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-10 18:15:19 +00:00
LICENSES Use SPDX license identifiers 2022-06-23 08:06:40 +02:00
cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 15:46:30 +02:00
coin Change Axivion configuration 2023-10-04 08:19:14 +03:00
dist Add Qt 6.0.0 changes file 2020-11-20 10:30:13 +00:00
examples Correct doc snippet and example license 2024-03-15 14:43:57 +01:00
src QText{En,De}coder: use DefaultConversion 2024-04-10 18:15:19 +00:00
tests Correct license for test files 2024-03-15 14:44:31 +01:00
util/unicode/codecs/big5 Eradicate the last Q_FOREACHs and mark the module free of them ... again 2023-08-04 16:55:26 +02:00
.cmake.conf Mark the whole repo with QT_NO_CONTEXTLESS_CONNECT 2024-02-15 00:07:43 +03:00
.gitattributes Add the initial structure 2020-01-29 16:01:12 +01:00
.gitignore Add the initial structure 2020-01-29 16:01:12 +01:00
.tag Add the initial structure 2020-01-29 16:01:12 +01:00
CMakeLists.txt Add Qt::Widgets package to qt5compat CMake file 2023-10-18 12:23:58 +02:00
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 15:46:30 +02:00
dependencies.yaml Update dependencies on 'dev' in qt/qt5compat 2024-04-05 04:07:31 +00:00
licenseRule.json Add a licenseRule.json file for checking of SPDX license identifiers 2024-04-05 12:52:18 +01:00