diff options
author | Christian Heimlich <chris@pcserenity.com> | 2022-02-09 19:48:42 -0500 |
---|---|---|
committer | Jörg Bornemann <joerg.bornemann@qt.io> | 2022-02-10 15:30:48 +0000 |
commit | 920c1e9d56f5ef95bf5335d9aead4a7bf5e836be (patch) | |
tree | 2f055476bdc6f025806ea8a470be67492c8c4672 /mkspecs | |
parent | 00f1bd00d09797564fa77ca120c6efd6d675fc3c (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.
Pick-to: 6.2 6.3
Change-Id: I9a5f6d6b3a3adec748cf7207ceaa6da98d053cdb
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/default_post.prf | 1 |
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 { |