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>
This commit is contained in:
Christian Heimlich 2022-02-09 19:48:42 -05:00 committed by Qt Cherry-pick Bot
parent 81272adef5
commit c64549c5dd

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 {