Add QOperatingSystemVersion::MacOSSonoma for macOS 14
Pick-to: 6.6 6.5 Change-Id: I22d4a2443e10ef40f498aa48aabad9aaa7aa8d1a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
9decda9063
commit
0237709e2c
@ -558,6 +558,12 @@ const QOperatingSystemVersion QOperatingSystemVersion::MacOSMonterey =
|
||||
*/
|
||||
const QOperatingSystemVersionBase QOperatingSystemVersion::MacOSVentura;
|
||||
|
||||
/*!
|
||||
\variable QOperatingSystemVersion::MacOSSonoma
|
||||
\brief a version corresponding to macOS Sonoma (version 14).
|
||||
*/
|
||||
const QOperatingSystemVersionBase QOperatingSystemVersion::MacOSVentura;
|
||||
|
||||
/*!
|
||||
\variable QOperatingSystemVersion::AndroidJellyBean
|
||||
\brief a version corresponding to Android Jelly Bean (version 4.1, API level 16).
|
||||
|
@ -201,6 +201,7 @@ public:
|
||||
static constexpr QOperatingSystemVersionBase Android13 { QOperatingSystemVersionBase::Android, 13, 0 };
|
||||
|
||||
static constexpr QOperatingSystemVersionBase MacOSVentura { QOperatingSystemVersionBase::MacOS, 13, 0 };
|
||||
static constexpr QOperatingSystemVersionBase MacOSSonoma { QOperatingSystemVersionBase::MacOS, 14, 0 };
|
||||
|
||||
constexpr QOperatingSystemVersion(const QOperatingSystemVersionBase &osversion)
|
||||
: QOperatingSystemVersionBase(osversion) {}
|
||||
|
Loading…
Reference in New Issue
Block a user