qt5base-lts/mkspecs/common
Joerg Bornemann b5ed3cb7ba qmake: Add support for C++23
Add the CONFIG value c++2b that represent the upcoming C++23 standard.
Add QMAKE_CXXFLAGS_CXX2B and QMAKE_CXXFLAGS_GNUCXX2B.
On MSVC, use /std:c++latest when c++2b is active.

This fixes an issue with MSVC where c++latest implied the /std:c++20
compiler flag.

Pick-to: 5.15 6.2 6.3
Fixes: QTBUG-102202
Change-Id: Ie00ee5793c1a649195013c8c19efc8d59cf0acc9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2022-04-05 14:27:50 +02:00
..
aix
android Remove checks for glibc < 2 from qplatformdefs.h files 2020-04-23 06:41:32 +02:00
bsd
c89
integrity
mac
nacl
posix
qnx Cleanup leftover QWS 2021-04-14 13:00:12 +09:00
rtems
uikit
clang-mac.conf
clang.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
g++-base.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
g++-macx.conf
g++-unix.conf
g++-win32.conf Generalize the winmain/qtmain entry-point library 2020-10-17 12:13:00 +02:00
g++.conf
gcc-base-mac.conf
gcc-base-unix.conf
gcc-base.conf Enable -mno-direct-extern-access and ELF protected visibility 2022-03-10 17:10:57 -08:00
ghs-base.conf INTEGRITY: Prevent deletion of virtual functions 2022-01-25 14:02:59 +02:00
ghs-integrity-armv7.conf
ghs-integrity-armv8.conf Add option to select build target for Integrity 2020-04-20 19:34:27 +03:00
ghs-integrity-x86.conf
icc-base-unix.conf Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
ios.conf
linux.conf
llvm.conf
mac.conf
macx.conf macOS: Bump max supported SDK version to 12 2021-11-04 05:06:04 +01:00
msvc-based-version.conf qmake: Introduce the variable MSVC_TOOLSET_VER 2021-11-10 14:47:42 +01:00
msvc-desktop.conf MSVC: enable identical COMDAT folding for release builds 2020-11-12 03:51:04 +08:00
msvc-version.conf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
qcc-base-qnx-aarch64le.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-armle-v7.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-x86-64.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx-x86.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
qcc-base-qnx.conf Use C++17 for qmake and force the build of everything with C++17 2020-02-08 09:49:07 +01:00
qcc-base.conf QNX7.1 updates 2020-11-20 15:28:31 +02:00
rtems-base.conf
sanitize.conf configure: Explicitly enable float-divide-by-zero with ubsan 2020-08-07 01:21:07 +02:00
shell-unix.conf
shell-win32.conf
solaris.conf Fix solaris build 2020-05-05 15:34:16 +02:00
tvos.conf
uikit.conf Limit OpenGL deprecation silencing on Apple platform to Qt itself 2020-07-02 10:27:58 +02:00
unix.conf
watchos.conf
windows-desktop.conf
windows-vulkan.conf