Le 02/03/2023 à 17:17, Scott Kostyshak a écrit :
With CMake build I get
/usr2/src/lyx/lyx-git/src/frontends/qt/GuiKeySymbol.cpp:28:10: fatal error:
QTextCodec:
No such file or directory 28 | #include <QTextCodec>
| ^~~~~~~~~~~~
compilation terminated.
if I remove the QtCore5Compat parts.
Indeed it seems we need to adapt, and that QStringConverter looks like a
candidate:
https://forum.qt.io/topic/135724/qt-6-replacement-for-qtextcodec
https://embeddeduse.com/2021/01/17/migrating-a-harvester-hmi-from-qt-5-12-to-qt-6-0/
Luckily it seems that GuiKeySymbol is the only code that uses QTextCodec.
Thanks for checking, Scott. So there is still a bit of work to do. In
this case, it seems that QStringConverter is not supported by Qt5, so
some #ifdefs might be required.
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel