Supported C++ Versions

From Qt Wiki
Revision as of 10:42, 21 January 2024 by Yihua Liu (talk | contribs) (Update link to compiler version check line)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For code that uses Qt

See https://doc.qt.io/qt-6/supported-platforms.html.

For Qt code

The minimum version is in qcompilerdetection.h. At the time of writing, it can be found on this line.

The maximum version is in qtbase/configure.cmake. Features for C++ standards greater than the current maximum have AUTODETECT OFF, which means they have to be enabled manually.