<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Hello,</p>
<p>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?<br>
</p>
<p>They plan to do this in three phases, disclosed in QTBUG-109360
[1] QTBUG-109361 [2] QTBUG-109362 [3].</p>
<p>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.</p>
<p>Since we build Qt ourselves, the second phase is relevant to us.<br>
</p>
<p>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.</p>
<p>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.<br>
</p>
<p>[1] <a class="moz-txt-link-freetext" href="https://bugreports.qt.io/browse/QTBUG-109360">https://bugreports.qt.io/browse/QTBUG-109360</a><br>
[2] <a class="moz-txt-link-freetext" href="https://bugreports.qt.io/browse/QTBUG-109361">https://bugreports.qt.io/browse/QTBUG-109361</a><br>
[3] <a class="moz-txt-link-freetext" href="https://bugreports.qt.io/browse/QTBUG-109362">https://bugreports.qt.io/browse/QTBUG-109362</a><br>
[4] <a class="moz-txt-link-freetext" href="https://wiki.qt.io/Qt_6.9_Release">https://wiki.qt.io/Qt_6.9_Release</a></p>
<p>Sincerely,<br>
Fatih Uzunoğlu<br>
</p>
</body>
<lt-container></lt-container>
</html>