summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorChristian Heimlich <chris@pcserenity.com>2022-02-09 19:48:42 -0500
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-10 17:09:43 +0000
commitb68021af6680506a7bcacdd2096891e1ea01a0af (patch)
treeb13200be37ac1a75c2a3e4da146abfaee7394946 /mkspecs
parent7c2fd9630d066e25579d80667ff411cc929aa590 (diff)
Add c++20 alias for c++2a in qmake default mkspecs features
Implemented as an alias to keep c++2a working and remain consistent with the way this was handled for the c++20 switch in cmake and the c++17 switch in qmake. Change-Id: I9a5f6d6b3a3adec748cf7207ceaa6da98d053cdb Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 920c1e9d56f5ef95bf5335d9aead4a7bf5e836be) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/default_post.prf1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/features/default_post.prf b/mkspecs/features/default_post.prf
index 18f8b8ad9a..b94aab3e9c 100644
--- a/mkspecs/features/default_post.prf
+++ b/mkspecs/features/default_post.prf
@@ -122,6 +122,7 @@ breakpad {
}
c++17: CONFIG += c++1z
+c++20: CONFIG += c++2a
c++latest: CONFIG *= c++2a c++1z c++14 c++11
!c++1z:!c++2a {