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>
This commit is contained in:
Leena Miettinen
2021-12-06 16:40:20 +01:00
parent 7bb558fa64
commit f6757fd87f
2 changed files with 11 additions and 5 deletions

View File

@@ -125,6 +125,10 @@
\externalpage https://cmake.org/cmake/help/latest/command/target_sources.html \externalpage https://cmake.org/cmake/help/latest/command/target_sources.html
\title CMake: target_sources command \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 \externalpage https://cmake.org/cmake/help/latest/prop_sf/HEADER_FILE_ONLY.html
\title CMake: HEADER_FILE_ONLY \title CMake: HEADER_FILE_ONLY

View File

@@ -133,15 +133,17 @@
\section1 Specifying Supported iOS Versions \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, 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 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 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 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) that matches the value of \l{CMake: CMAKE_OSX_DEPLOYMENT_TARGET}
or \c cpp.minimumIosVersion (when using Qbs), because iOS (and the {CMAKE_OSX_DEPLOYMENT_TARGET} (when using CMake),
App Store) will use the \c LSMinimumSystemVersion value as the authoritative \l QMAKE_IOS_DEPLOYMENT_TARGET (when using qmake), or
one. \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 If you specify a deployment target value lower than what Qt requires, your
application will almost certainly crash somewhere in the Qt libraries when application will almost certainly crash somewhere in the Qt libraries when