Skip to content

Commit

Permalink
QOperatingSystemVersion: Add Win11 24H2
Browse files Browse the repository at this point in the history
Windows 11 24H2 has been publicly released already, which can be
downloaded directly from Microsoft's official website [1].

[1] https://www.microsoft.com/en-us/software-download/windows11

Pick-to: 6.8
Change-Id: I0394e8413c07ec902cadd43bd2fac8a3d4c42c7b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
  • Loading branch information
wangwenx190 committed Oct 11, 2024
1 parent 8a93093 commit c846db2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/corelib/global/qoperatingsystemversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,12 @@ const QOperatingSystemVersionBase QOperatingSystemVersion::Windows11_22H2;
\since 6.6
*/

/*!
\variable QOperatingSystemVersion::Windows11_24H2
\brief a version corresponding to Windows 11 Version 24H2 (version 10.0.26100).
\since 6.8.1
*/

/*!
\variable QOperatingSystemVersion::OSXMavericks
\brief a version corresponding to OS X Mavericks (version 10.9).
Expand Down
1 change: 1 addition & 0 deletions src/corelib/global/qoperatingsystemversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class QOperatingSystemVersion : public QOperatingSystemVersionBase
static constexpr QOperatingSystemVersionBase MacOSSequoia { QOperatingSystemVersionBase::MacOS, 15, 0 };
static constexpr QOperatingSystemVersionBase Android14 { QOperatingSystemVersionBase::Android, 14, 0 };
static constexpr QOperatingSystemVersionBase Windows11_23H2 { QOperatingSystemVersionBase::Windows, 10, 0, 22631 };
static constexpr QOperatingSystemVersionBase Windows11_24H2 { QOperatingSystemVersionBase::Windows, 10, 0, 26100 };

#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) && !defined(QT_BOOTSTRAPPED) && !defined(Q_QDOC)
};
Expand Down

0 comments on commit c846db2

Please sign in to comment.