Deps for LyX 2.5: GCC 8.5, Qt 5.12, Python 3.8 (was: GCC >= 5?)

Pavel Sanda sanda at lyx.org
Tue Oct 22 13:11:38 UTC 2024


On Tue, Oct 22, 2024 at 01:18:45PM +0200, Jean-Marc Lasgouttes wrote:
> Le 22/10/2024 ?? 11:35, Pavel Sanda a écrit :
> > Yes, I think we can bump to GCC 8.5 and Qt 5.12.
> 
> 8.5 or 8, I guess. They should be equivalent, except for bugs.

Agreed.

> > If someone wants to go through the sources and cleanup ifdefs we can switch anytime.
> > 
> > By doing this we should get access to C++17, so my favourite new feature highlights:
> > - if & switch with initializers: if (status_code c = foo(); c != SUCCESS) {...
> >    https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0305r1.html
> > - structured bindings to get direct access inside pairs & maps in loops: for (const auto& [key,val] : myMap) {
> >    https://www.cppstories.com/2022/structured-bindings/
> 
> Looks good. I thought all the fun stuff was in C++20.

Do you plan to do the clenaup wrt ifdefs?

Pavel


More information about the lyx-devel mailing list