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>
This commit is contained in:
Christian Heimlich 2022-02-09 19:48:42 -05:00 committed by Jörg Bornemann
parent 00f1bd00d0
commit 920c1e9d56

View File

@ -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 {