5.15.2: detect macOS monterey

This commit is contained in:
kleuter 2021-11-24 12:11:17 +01:00
parent 73aea036de
commit 67a47cfc61
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;