QOperatingSystemVersion: Add Windows11
Change-Id: Ieb7674bbbbc78689f1e2a1e5a06dfd4d0ce25ac1 Reviewed-by: Yuhang Zhao <2546789017@qq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
b7f4041669
commit
919f5bd459
@ -466,6 +466,12 @@ const QOperatingSystemVersion QOperatingSystemVersion::Windows10 =
|
||||
\since 6.3
|
||||
*/
|
||||
|
||||
/*!
|
||||
\variable QOperatingSystemVersion::Windows11
|
||||
\brief a version corresponding to Windows 11 (version 10.0.22000).
|
||||
\since 6.3
|
||||
*/
|
||||
|
||||
/*!
|
||||
\variable QOperatingSystemVersion::OSXMavericks
|
||||
\brief a version corresponding to OS X Mavericks (version 10.9).
|
||||
|
@ -230,6 +230,7 @@ public:
|
||||
static constexpr QOperatingSystemVersionBase Windows10_20H2 { QOperatingSystemVersionBase::Windows, 10, 0, 19042 };
|
||||
static constexpr QOperatingSystemVersionBase Windows10_21H1 { QOperatingSystemVersionBase::Windows, 10, 0, 19043 };
|
||||
static constexpr QOperatingSystemVersionBase Windows10_21H2 { QOperatingSystemVersionBase::Windows, 10, 0, 19044 };
|
||||
static constexpr QOperatingSystemVersionBase Windows11 { QOperatingSystemVersionBase::Windows, 10, 0, 22000 };
|
||||
|
||||
constexpr QOperatingSystemVersion(const QOperatingSystemVersionBase &osversion)
|
||||
: QOperatingSystemVersionBase(osversion) {}
|
||||
|
Loading…
Reference in New Issue
Block a user