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

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Oct 22 11:18:45 UTC 2024


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.

> 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.

>> Isn't it Python 3.8?
> 
> My assesment for LyX 2.5 was P3.6, but the reality is that we already bumped to P3.8 AFAIU.
> On old system people will need to install P3.6 in parallel (at least that should be
> simpler than Qt/GCC).

OK.

JMarc



More information about the lyx-devel mailing list