[vlc-devel] Qt 6 to require C++20 in the future
Fatih Uzunoğlu
fuzun54 at outlook.com
Mon Oct 14 16:09:37 UTC 2024
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20241014/046ddae3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4676 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20241014/046ddae3/attachment.bin>
More information about the vlc-devel
mailing list