Qt 6 to require C++20 in the future
Fatih Uzunoğlu <[email protected]> Mon, 14 Oct 2024 19:09:37 +0300
| Newsgroups | gmane.comp.video.videolan.vlc.devel |
|---|---|
| Message-ID | <AM6PR0202MB33682733D0CFE4995786B300AF442@AM6PR0202MB3368.eurprd02.prod.outlook.com> |
Hello, Qt 6 is going to require C++20 in the future. When that happens, can we switch to C++20 as well, or are we going to stick to C++17 for 4.x? They plan to do this in three phases, disclosed in QTBUG-109360 [1] QTBUG-109361 [2] QTBUG-109362 [3]. The first phase is already done: Qt 6.7 uses the "spaceship" operator, for example. The second phase is going to require C++20 supporting compiler to build Qt, and the third phase is going to require C++20 supporting compiler for building applications that use Qt. Since we build Qt ourselves, the second phase is relevant to us. Qt 6.8 continues to not require C++20, Qt 6.9 is unlikely to require C++20. However, the tentative plan is to require C++20 supporting compiler with Qt 6.9, 6.10, or 6.11. Qt 6.9 is going to release in March 2025 [4], Qt 6.10 late 2025, and I expect Qt 6.11 to be released in Spring 2026. Considering 4.0 is still not released, I don't think 5.0 is going to be around in 2026 so sticking to C++17 might be a problem for VLC media player. [1] https://bugreports.qt.io/browse/QTBUG-109360 [2] https://bugreports.qt.io/browse/QTBUG-109361 [3] https://bugreports.qt.io/browse/QTBUG-109362 [4] https://wiki.qt.io/Qt_6.9_Release Sincerely, Fatih Uzunoğlu _______________________________________________ vlc-devel mailing list To unsubscribe or modify your subscription options: https://mailman.videolan.org/listinfo/vlc-devel
smime.p7s
(application/pkcs7-signature, 4.6 KB) - not displayed