[ci announce] bionic: compile failure
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Fri Jan 24 13:18:30 UTC 2025
Le 24/01/2025 à 09:13, Jürgen Spitzmüller a écrit :
> Am Donnerstag, dem 23.01.2025 um 22:42 +0000 schrieb
> testing at tester.lyx.org:
>> GuiInputMethod.cpp: In member function 'std::array<int, 2>
>> lyx::frontend::GuiInputMethod::setCaretOffset(lyx::pos_type)':
>> GuiInputMethod.cpp:551:26: error: 'class QFontMetrics' has no member
>> named 'horizontalAdvance'
>> caret_offset[0] = qfm.horizontalAdvance(lastline_str);
>
> QFontMetrics::horizontalAdvance() has been introduced with Qt 5.11.
> You need to condition for that and use QFontMetrics::width() for
> earlier Qt versions.
Since I have access to an Ubuntu 18.04 VM, I fixed this issue and the
other one.
Pavel, I am glad to see your bots put to good use :)
Would it be possible to use "make -s" to make the reports less wordy,
and maybe to change the message title ? [ci announce] is weird.
JMarc
More information about the lyx-devel
mailing list