Am Sonntag, dem 06.04.2025 um 12:58 +0200 schrieb Kornel Benko:
> > GuiPrefs.cpp: In member function 'void
> > lyx::frontend::PrefColors::initializeColorsTV()':
> > GuiPrefs.cpp:1716:25: error: 'class QFontMetrics' has no member
> > named
> > 'horizontalAdvance' int col_width =
> > max(fm.horizontalAdvance(header_labels_[LightColorColumn]),
> > ^~~~~~~~~~~~~~~~~
> 
> Compiles here with QT5.15.13 and also with QT6.4.2

QFontMetrics::horizontalAdvance() has been introduced in Qt 5.11 (to
supersede width()).

-- 
Jürgen

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to