Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Supported C++ Versions: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== For code that uses Qt ==
==For code that uses Qt==


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


== For Qt code ==
==For Qt code==


The minimum version is in qcompilerdetection.h. At the time of writing, it can be found on [https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qcompilerdetection.h#n1191 this line].
The minimum version is in qcompilerdetection.h. At the time of writing, it can be found on [https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qcompilerdetection.h#n1191 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.
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.
[[Category:Developing Qt]]
[[Category:Developing with Qt]]

Latest revision as of 07:10, 7 September 2022

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.