summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-02-09 13:12:09 +0100
committerKai Köhne <kai.koehne@qt.io>2021-02-10 07:54:06 +0100
commit3c412c93c251862a2791557881f9232fd76fda79 (patch)
tree1096e4230416ad549bd671b5d04ea5936e79e4c4 /qmake
parentab907053bd7b4c5acc1ddb9220a708b9244f7b0f (diff)
Update name of c++2a to c++20
Keep the c++2a feature, but make it an alias for compatibility purposes. Pick-to: 6.1 Change-Id: I6f153109be84659806f1b7a57a88a187875166d8 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc9
1 files changed, 5 insertions, 4 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index d772ba5fc1..d646847217 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -1210,13 +1210,14 @@
\row \li c++14 \li C++14 support is enabled. This option has no effect if
the compiler does not support C++14, or can't select the C++ standard.
By default, the compiler default is used.
- \row \li c++1z \li C++17 support is enabled. This option has no effect if
+ \row \li c++17 \li C++17 support is enabled. This option has no effect if
the compiler does not support C++17, or can't select the C++ standard.
By default, support is disabled.
- \row \li c++17 \li Same as c++1z.
- \row \li c++2a \li C++2a support is enabled. This option has no effect if
- the compiler does not support C++2a, or can't select the C++ standard.
+ \row \li c++1z \li Obsolete alias for c++17.
+ \row \li c++20 \li C++20 support is enabled. This option has no effect if
+ the compiler does not support C++20, or can't select the C++ standard.
By default, support is disabled.
+ \row \li c++2a \li Obsolete alias for c++20.
\row \li c++latest \li Support for the latest C++ language standard is
enabled that is supported by the compiler. By default, this option is
disabled.