summaryrefslogtreecommitdiffstats
path: root/qmake/doc/src
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-08-26 12:00:50 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-08-26 18:32:44 +0200
commit9004575f4b2aee7bf3c55522affd10555d134c51 (patch)
tree8b2ea3759976ce2f9d10dfbed361e3c38fdd333e /qmake/doc/src
parenta6a216e31041f6c878a37d9af169f221d99978c8 (diff)
qmake: Add support for C17/C18
Make it possible to select the C17/C18 standard with CONFIG += c17 or CONFIG += c18 Pick-to: 6.2 5.15 Fixes: QTBUG-96026 Change-Id: I719d22366c3efda009118d58ead173a25ed285c0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'qmake/doc/src')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index 07a0246124..7126cfcec0 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -1208,6 +1208,11 @@
\row \li c11 \li C11 support is enabled. This option has no effect if
the compiler does not support C11, or can't select the C standard.
By default, the compiler default is used.
+ \row \li c17 \li C17, also known as C18, support is enabled.
+ This option has no effect if the compiler does not support C17, or
+ can't select the C standard.
+ By default, the compiler default is used.
+ \row \li c18 \li This is an alias for the \c{c17} value.
\row \li strict_c \li Disables support for C compiler extensions.
By default, they are enabled.
\row \li c++11 \li C++11 support is enabled. This option has no effect if