Bump iOS minimum deployment target to iOS 16

According to https://developer.apple.com/support/app-store/ iOS 16
and 17 together cover 89% of devices that transacted on the App Store
on February 4, 2024. And by the time Qt 6.8 is ready, iOS 18
will likely be out or close to being released.

Change-Id: Ice853d0136ee4c697d61add68a996548ac44a0ce
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Tor Arne Vestbø 2024-02-12 21:01:52 +01:00
parent dcb2186c2a
commit 9b940cfc3b
2 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ function(qt_auto_detect_darwin)
# macOS
set(version "12.0")
elseif(CMAKE_SYSTEM_NAME STREQUAL iOS)
set(version "14.0")
set(version "16.0")
endif()
if(version)
set(CMAKE_OSX_DEPLOYMENT_TARGET "${version}" CACHE STRING "${description}")

View File

@ -2,7 +2,7 @@
# qmake configuration for macx-ios-clang
#
QMAKE_IOS_DEPLOYMENT_TARGET = 14.0
QMAKE_IOS_DEPLOYMENT_TARGET = 16.0
# Universal target (iPhone and iPad)
QMAKE_APPLE_TARGETED_DEVICE_FAMILY = 1,2