From 920c1e9d56f5ef95bf5335d9aead4a7bf5e836be Mon Sep 17 00:00:00 2001 From: Christian Heimlich Date: Wed, 9 Feb 2022 19:48:42 -0500 Subject: [PATCH] Add c++20 alias for c++2a in qmake default mkspecs features MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- mkspecs/features/default_post.prf | 1 + 1 file changed, 1 insertion(+) 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 {