Update supported platforms and build requirements for Apple platforms
Per earlier discussions we bump the deployment target for LTS releases and follow up by requiring the latest SDK available for building. As layer backed views and dark mode is a lot more stable these days in Qt and on macOS in general we no longer support the option to build with the 10.13 SDK. A workaround in case this functionality is still needed is to explicitly set the QMAKE_MAC_SDK_VERSION qmake variable, which will tell the linker to write that version into the MachO header of the executable, which will then be read by AppKit when determining which features to opt in to. Change-Id: Ied4f6d75b710505a5c440c990b82567bea780db6 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
d1c6f7e5a2
commit
2e63d12183
@ -5,9 +5,13 @@
|
||||
QMAKE_PLATFORM += macos osx macx
|
||||
QMAKE_MAC_SDK = macosx
|
||||
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
|
||||
QMAKE_APPLE_DEVICE_ARCHS = x86_64
|
||||
QT_MAC_SDK_VERSION_MIN = 10.13
|
||||
|
||||
# Should be 10.15, but as long as the CI builds with
|
||||
# older SDKs we have to keep this.
|
||||
QT_MAC_SDK_VERSION_MIN = 10.14
|
||||
|
||||
QT_MAC_SDK_VERSION_MAX = 10.15
|
||||
|
||||
device.sdk = macosx
|
||||
|
@ -2,7 +2,7 @@
|
||||
# qmake configuration for macx-ios-clang
|
||||
#
|
||||
|
||||
QMAKE_IOS_DEPLOYMENT_TARGET = 11.0
|
||||
QMAKE_IOS_DEPLOYMENT_TARGET = 12.0
|
||||
|
||||
# Universal target (iPhone and iPad)
|
||||
QMAKE_APPLE_TARGETED_DEVICE_FAMILY = 1,2
|
||||
|
@ -2,7 +2,7 @@
|
||||
# qmake configuration for macx-tvos-clang
|
||||
#
|
||||
|
||||
QMAKE_TVOS_DEPLOYMENT_TARGET = 11.0
|
||||
QMAKE_TVOS_DEPLOYMENT_TARGET = 12.0
|
||||
|
||||
QMAKE_APPLE_TARGETED_DEVICE_FAMILY = 3
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# qmake configuration for macx-watchos-clang
|
||||
#
|
||||
|
||||
QMAKE_WATCHOS_DEPLOYMENT_TARGET = 4.0
|
||||
QMAKE_WATCHOS_DEPLOYMENT_TARGET = 5.0
|
||||
|
||||
QMAKE_APPLE_TARGETED_DEVICE_FAMILY = 4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user