Le 30/10/2020 à 13:13, Jean-Marc Lasgouttes a écrit :
Le 25/10/2020 à 03:58, Richard Kimberly Heck a écrit :
On 10/24/20 2:17 PM, Jean-Marc Lasgouttes wrote:
Le 24/10/2020 à 19:38, Jean-Marc Lasgouttes a écrit :
commit 21422dd6527754d8b7876a6e11b686cd726321ed
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date: Sat Oct 24 19:29:34 2020 +0200
Replace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11
The method horizontalAdvance() replaces width() starting
with Qt 5.11.
To handle this, all direct calls to QFontMetrics::width() are
replaced
by calls to GuiFontMetrics::width(), and the code for
GuiFontMetrics::width(QChar) uses horizontalAdvance on newer Qt
versions.
If this turns out to work well, it will be candidate for branch.
Keep me posted.
This can wait until after 2.3.6.
I backported this to branch at f4314b6461a. Scott, you should backport
your own changes, since compiling branch is quite painful right now on
recent Qt.
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel