5.15.10 - macOS Monterey detection, backport of b3dc0fec2b

This commit is contained in:
kleuter 2022-07-09 14:07:40 +02:00
parent 6d4c887fd9
commit 1594f957fc
2 changed files with 5 additions and 0 deletions

View File

@ -470,6 +470,10 @@ const QOperatingSystemVersion QOperatingSystemVersion::MacOSBigSur = [] {
return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 10, 16);
}();
const QOperatingSystemVersion QOperatingSystemVersion::MacOSMonterey = [] {
return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 12, 0);
}();
/*!
\variable QOperatingSystemVersion::AndroidJellyBean
\brief a version corresponding to Android Jelly Bean (version 4.1, API level 16).

View File

@ -73,6 +73,7 @@ public:
static const QOperatingSystemVersion MacOSMojave;
static const QOperatingSystemVersion MacOSCatalina;
static const QOperatingSystemVersion MacOSBigSur;
static const QOperatingSystemVersion MacOSMonterey;
static const QOperatingSystemVersion AndroidJellyBean;
static const QOperatingSystemVersion AndroidJellyBean_MR1;