Le 02/03/2023 à 15:57, Jean-Marc Lasgouttes a écrit :
This patch removes all traces of QRegExp. It will obviously need
testing, but this is already the code used with Qt6.
Riki, is this OK to apply?
No complaints -> I did it. I can revert if needed.
Other special Qt6 code I would like to remove is:
1/ this one seems to exist in Qt5
#if QT_VERSION < 0x060000
QRect rec =
QApplication::desktop()->screenGeometry();
#else
QRect rec =
QGuiApplication::primaryScreen()->geometry();
#endif
2/ that one has been introduced in Qt 4.3
#if QT_VERSION < 0x060000
layout->setMargin(0);
#else
layout->setContentsMargins(0, 0, 0, 0);
#endif
Any reason for not doing it?
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel