QTextCodec has been removed from Qt6 and as per #100 I'd want to try to migrate it to something else if possible. But for now that may have turned out to be a bit more difficult to do, so for the short-term solution to building libcommuni with Qt6 is to use Qt5Compat module - to use it properly though format of includes has to be exactly <QTextCodec> since that class is no longer part of QtCore.
Optionally, most other includes, like <QtCore/qbytearray.h> could be simplified to just <QByteArray>, but I didn't want to make too many unrelated changes at once - can make those in a separate pull request if that's reasonable.
QTextCodec
has been removed from Qt6 and as per #100 I'd want to try to migrate it to something else if possible. But for now that may have turned out to be a bit more difficult to do, so for the short-term solution to building libcommuni with Qt6 is to use Qt5Compat module - to use it properly though format of includes has to be exactly<QTextCodec>
since that class is no longer part of QtCore.Optionally, most other includes, like
<QtCore/qbytearray.h>
could be simplified to just<QByteArray>
, but I didn't want to make too many unrelated changes at once - can make those in a separate pull request if that's reasonable.