-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency on QTextCodec for qt6 #199
base: master
Are you sure you want to change the base?
Conversation
I don't know git very well yet, so I had to delete my previous pull request to put in a clean one. |
Should we even bother with |
Hello @cen1 QStringConverter only handles the following codecs (see Qt doc for more details): QStringConverter::Utf8 In practice, for new projects, I think Utf8 will be used |
After a quick review:
We will also need to add Core5Compat into the CI matrix so we test both build scenarios for at least some tests but that's on me. |
I commit fix about compilation issue ! |
You should also use |
Remove dependency on QTextCodec for qt6 with QStringConvert
3 cases
Qt5 -> Use QTextCodec
QT6 + Core5Compat -> Use QTextCodec (more encoding available)
QT6 without Core5Compat -> Use QStringConvert (less encoding available but probably enought for new projects)