QOSV: Add Win11 23H2

Windows 11 23H2 (10.0.22631) will be released publicly soon,
it's better add it to Qt now.

Pick-to: 6.6
Change-Id: I1bcec19d3a15e778f2c5e504d1e5cf678753f5a2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Yuhang Zhao 2023-10-26 17:03:31 +08:00
parent d7ebe91781
commit 7b77a1c2a6
2 changed files with 7 additions and 0 deletions

View File

@ -479,6 +479,12 @@ const QOperatingSystemVersionBase QOperatingSystemVersion::Windows11_21H2;
*/
const QOperatingSystemVersionBase QOperatingSystemVersion::Windows11_22H2;
/*!
\variable QOperatingSystemVersion::Windows11_23H2
\brief a version corresponding to Windows 11 Version 23H2 (version 10.0.22631).
\since 6.6
*/
/*!
\variable QOperatingSystemVersion::OSXMavericks
\brief a version corresponding to OS X Mavericks (version 10.9).

View File

@ -120,6 +120,7 @@ class QOperatingSystemVersion : public QOperatingSystemVersionBase
// ### Qt7: Regroup with the rest below
static constexpr QOperatingSystemVersionBase MacOSSonoma { QOperatingSystemVersionBase::MacOS, 14, 0 };
static constexpr QOperatingSystemVersionBase Android14 { QOperatingSystemVersionBase::Android, 14, 0 };
static constexpr QOperatingSystemVersionBase Windows11_23H2 { QOperatingSystemVersionBase::Windows, 10, 0, 22631 };
#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) && !defined(QT_BOOTSTRAPPED) && !defined(Q_QDOC)
};