Skip to content

Commit

Permalink
Bump macOS minimum deployment target to 12 (Monterey)
Browse files Browse the repository at this point in the history
macOS 11 is at its end-of-life and no longer supported by Apple. It
should be dropped from dev (Qt 6.8).

Task-number: QTQAINFRA-6009
Change-Id: Ib5fc5adbc13eb08e4603b226b9d7748417765b15
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
  • Loading branch information
Elias Toivola committed Jan 31, 2024
1 parent 000cb2d commit 79363ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/QtAutoDetectHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function(qt_auto_detect_darwin)
if(NOT CMAKE_OSX_DEPLOYMENT_TARGET)
if(NOT CMAKE_SYSTEM_NAME)
# macOS
set(version "11.0")
set(version "12.0")
elseif(CMAKE_SYSTEM_NAME STREQUAL iOS)
set(version "14.0")
endif()
Expand Down
4 changes: 2 additions & 2 deletions mkspecs/common/macx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
QMAKE_PLATFORM += macos osx macx
QMAKE_MAC_SDK = macosx

QMAKE_MACOSX_DEPLOYMENT_TARGET = 11
QMAKE_MACOSX_DEPLOYMENT_TARGET = 12

QT_MAC_SDK_VERSION_MIN = 11
QT_MAC_SDK_VERSION_MIN = 12

QT_MAC_SDK_VERSION_MAX = 14

Expand Down

0 comments on commit 79363ed

Please sign in to comment.