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

Thiago Macieira thiago.macieira at intel.com
Wed Nov 27 01:22:42 CET 2024


On Tuesday 26 November 2024 08:58:38 Pacific Standard Time Thiago Macieira 
wrote:
> That being the case, I'm just not going to do anything. Not my problem any
> more to move us forward. That also means I will not be doing the work to
> test our headers in C++23 mode either - that's SEP again.

Someone who cares about Windows/MSVC may want to take the mantle here, because 
cpp-winrt will be disabled for C++17. I don't know what cpp-winrt does (it 
doesn't seem to be necessary for MinGW, therefore it isn't *necessary*) but 
someone thought it was interesting to have in the first place.

There are 35 QT_CONFIG(cpp_winrt) checks in qtbase, the majority of which in 
the QPA plugin and in the networklistmanager plugin. All of those will now use 
the fallback code (if any).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20241126/76a9eb4a/attachment.bin>


More information about the Development mailing list