diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2021-12-06 16:40:20 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2021-12-08 15:47:07 +0000 |
commit | f6757fd87f3ddfc815af29342fd1b060165c1b7c (patch) | |
tree | 873a2ca1498c461717c283826336290bfb343363 | |
parent | 7bb558fa6441bee56d1a5f25e21b998ed6b57848 (diff) |
Doc: Add CMake equivalent for LSMinimumSystemVersion
...in an Info.plist file.
Also remove "Qt 5", because this also applies to Qt 6 apps.
Task-number: QTCREATORBUG-26616
Change-Id: I2041506dccf719559d53f066dfe5acc864a51569
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | doc/qtcreator/src/external-resources/external-resources.qdoc | 4 | ||||
-rw-r--r-- | doc/qtcreator/src/ios/creator-ios-dev.qdoc | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/qtcreator/src/external-resources/external-resources.qdoc b/doc/qtcreator/src/external-resources/external-resources.qdoc index b905a23632..76cabbde5c 100644 --- a/doc/qtcreator/src/external-resources/external-resources.qdoc +++ b/doc/qtcreator/src/external-resources/external-resources.qdoc @@ -126,6 +126,10 @@ \title CMake: target_sources command */ /*! + \externalpage https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_DEPLOYMENT_TARGET.html + \title CMake: CMAKE_OSX_DEPLOYMENT_TARGET +*/ +/*! \externalpage https://cmake.org/cmake/help/latest/prop_sf/HEADER_FILE_ONLY.html \title CMake: HEADER_FILE_ONLY */ diff --git a/doc/qtcreator/src/ios/creator-ios-dev.qdoc b/doc/qtcreator/src/ios/creator-ios-dev.qdoc index c2eb07f9ae..3ebd8c93a0 100644 --- a/doc/qtcreator/src/ios/creator-ios-dev.qdoc +++ b/doc/qtcreator/src/ios/creator-ios-dev.qdoc @@ -133,15 +133,17 @@ \section1 Specifying Supported iOS Versions - Qt 5 applications can be built for the latest iOS version and deployed to + You can build applications for the latest iOS version and deploy them to previous versions. For the most part, this works automatically. However, you must take care when you manually set your own target version. If you set it to a value higher than what Qt requires and supply your own \c Info.plist file, you must add an \c LSMinimumSystemVersion entry to the \c Info.plist - that matches the value of \c QMAKE_IOS_DEPLOYMENT_TARGET (when using qmake) - or \c cpp.minimumIosVersion (when using Qbs), because iOS (and the - App Store) will use the \c LSMinimumSystemVersion value as the authoritative - one. + that matches the value of \l{CMake: CMAKE_OSX_DEPLOYMENT_TARGET} + {CMAKE_OSX_DEPLOYMENT_TARGET} (when using CMake), + \l QMAKE_IOS_DEPLOYMENT_TARGET (when using qmake), or + \l{https://doc.qt.io/qbs/qml-qbsmodules-cpp.html#minimumIosVersion-prop} + {cpp.minimumIosVersion} (when using Qbs) because iOS (and the App Store) + will use the \c LSMinimumSystemVersion value as the authoritative one. If you specify a deployment target value lower than what Qt requires, your application will almost certainly crash somewhere in the Qt libraries when |