Closed xlazom00 closed 8 months ago
So something like this? https://github.com/Memsource/quazip/pull/1/files
Qt 6.4 is enabling QStringConverter to use any encoding provided by ICU when Qt is built with ICU support enabled.
https://doc-snapshots.qt.io/qt6-dev/whatsnew64.html https://doc-snapshots.qt.io/qt6-dev/qstringconverter.html#encodingForName
In the long run this is probably the preferred alternative for handling encodings that were previously deprecated by Qt6, rather than a manual switch like the above (though they can certainly coexist). Build Qt with ICU support, get extended encoding support in QuaZip.
This would allow dropping the Qt5Compat module as a requirement when using Qt6 outright.
Closing in favor of a more recent https://github.com/stachenov/quazip/issues/184
I would like to propose idea that we can build quazip without QTextCodec.
as in Qt6 QTextCodec is deprecated
And there is also option to add support for QStringDecoder I found this QStringDecoder vs QTextCodec