Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Giuseppe D'Angelo via Development
On 14/10/2024 20:46, Mathias Hasselmann via Development wrote: The QtCS24 misses the single one big reason you want to switch C++20 now and whenever possible: Concepts. They indeed are a total game changer and I'd boldy predict that 80% of all meta-programming helpers in Qt's headers could be re

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Thiago Macieira
On Monday 14 October 2024 11:46:17 GMT-7 Mathias Hasselmann via Development wrote: > The QtCS24 misses the single one big reason you want to switch C++20 now > and whenever possible: Concepts. Using them unconditionally means forcing users to C++20. We agreed we can't have that right now. Howev

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Vladimir Minenko via Development
6) when should we do this? The last time we discussed C++20, it was made clear that we can only do such changes on LTS+1 releases. That's 6.9. The last time we discussed this was at QtCS24 (https://wiki.qt.io/QtCS2024_C%2B%2B20), where IIRC the conclusion was that ATM, there is no reason to swit

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Thiago Macieira
On Monday 14 October 2024 09:53:56 GMT-7 Thiago Macieira wrote: > > The last time we discussed this was at QtCS24 > > (https://wiki.qt.io/QtCS2024_C%2B%2B20), where IIRC the conclusion was > > that > > ATM, there is no reason to switch to C++20. So, it is definitely not in > > 6.9. > > That was "n

Re: [Development] CI Maintenance Break

2024-10-14 Thread CI Maintenance Break via Development
Maintenance break is over. From: CI Maintenance Break Sent: maanantai 14. lokakuuta 2024 8.00 To: CI Maintenance Break ; 'development@qt-project.org' Subject: RE: CI Maintenance Break Maintenance break starts now. From: CI Maintenance Break Sent: tiistai 8. lokakuuta 2024 20.05 To: development

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Giuseppe D'Angelo via Development
On 10/10/2024 18:57, Thiago Macieira wrote: Re: https://codereview.qt-project.org/c/qt/qtbase/+/463425 TL;DR: for some std::format functionality, we really want to have out-of-line implementations, which requires QtCore compiled with C++20. See https://codereview.qt-project.org/c/qt/qtbase/+/595

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Thiago Macieira
On Monday 14 October 2024 06:13:49 GMT-7 Giuseppe D'Angelo via Development wrote: > Do you foresee any problems at actually guaranteeing that we still work > with C++17, should one force the C++ version (via whatever means)? > I mean, we have to keep work in C++17 anyhow (for some toolchains), >

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Giuseppe D'Angelo via Development
On 14/10/2024 16:56, Vladimir Minenko via Development wrote: Effectively, I don't see much difference from the current situation, where we "pretend" that we require C++17 but in reality we just check that we can pass `-std=c++17` to the compiler. Any usage in Qt code of individual language/li

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Thiago Macieira
On Monday 14 October 2024 07:56:35 GMT-7 Vladimir Minenko via Development wrote: > 6) when should we do this? > The last time we discussed C++20, it was made clear that we can only do such > changes on LTS+1 releases. That's 6.9. > > The last time we discussed this was at QtCS24 > (https://wiki.q

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Mathias Hasselmann via Development
The QtCS24 misses the single one big reason you want to switch C++20 now and whenever possible: Concepts. They indeed are a total game changer and I'd boldy predict that 80% of all meta-programming helpers in Qt's headers could be replaced by concepts that are easier to understand, more expressi