5.15.7 - added macOS Monterey support (backport b3dc0fec2b)

This commit is contained in:
kleuter 2021-11-23 15:34:31 +01:00
parent 71e9571655
commit be2c83db52
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); return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 10, 16);
}(); }();
const QOperatingSystemVersion QOperatingSystemVersion::MacOSMonterey = [] {
return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 12, 0);
}();
/*! /*!
\variable QOperatingSystemVersion::AndroidJellyBean \variable QOperatingSystemVersion::AndroidJellyBean
\brief a version corresponding to Android Jelly Bean (version 4.1, API level 16). \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 MacOSMojave;
static const QOperatingSystemVersion MacOSCatalina; static const QOperatingSystemVersion MacOSCatalina;
static const QOperatingSystemVersion MacOSBigSur; static const QOperatingSystemVersion MacOSBigSur;
static const QOperatingSystemVersion MacOSMonterey;
static const QOperatingSystemVersion AndroidJellyBean; static const QOperatingSystemVersion AndroidJellyBean;
static const QOperatingSystemVersion AndroidJellyBean_MR1; static const QOperatingSystemVersion AndroidJellyBean_MR1;