Restore support for iOS 16 for Qt 6.8

Our general strategy is to support the latest two iOS releases,
as most people upgrade their iOS devices quite aggressively.

But given that iOS 18 is not out yet, and that people still
spend some time upgrading once it's out, we don't want to be
in a situation where we effectively only support iOS 17.

Fixes: QTBUG-128678
Change-Id: I959794944807e5b6b5e56f22d3c57977bc4f2aee
Reviewed-by: Doris Verria <doris.verria@qt.io>
(cherry picked from commit e2c4a1669e5b6496d52e2f55a94bd7d4f4469b98)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2024-09-06 10:17:53 +02:00 committed by Qt Cherry-pick Bot
parent f30fb442af
commit 5ed9b165bd

View File

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