qt6-bb10/mkspecs/features
Alexandru Croitor a29bff3d80 CMake: Warn when configuring Qt with an unsupported Apple SDK or Xcode
The warnings are shown when configuring any Qt submodule or top-level.
The warnings are NOT shown when configuring a user project with CMake.

Opt out CMake cache variables can be set to silence any of the
warnings:
- QT_NO_APPLE_SDK_AND_XCODE_CHECK
- QT_NO_APPLE_SDK_MIN_VERSION_CHECK
- QT_NO_XCODE_MIN_VERSION_CHECK
- QT_NO_APPLE_SDK_MAX_VERSION_CHECK

The warnings can be upgraded into errors by configuring with
-DQT_FORCE_FATAL_APPLE_SDK_AND_XCODE_CHECK=ON

The platform version requirements that qtbase specifies in .cmake.conf
are saved in Qt6ConfigExtras.cmake so that they can be used when
configuring other non-qtbase submodules.

The code is added to the public CMake files, so that in the future we
don't need to move code around if we enable the checks for public
CMake projects as well.

The version extraction helpers were moved out of QtAutoDetectHelpers
into QtPublicAppleHelpers.

Task-number: QTBUG-119490
Change-Id: Ic840e1013aeb607bf23247a9cb43471dde802e9d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
2023-11-29 16:00:57 +01:00
..
android Revert "Revert "Add support for MultiABI with custom install dir of the android-build"" 2023-02-02 19:03:36 +01:00
data Remove qmake files that provide support for building Qt modules 2023-02-27 10:10:09 +01:00
mac CMake: Warn when configuring Qt with an unsupported Apple SDK or Xcode 2023-11-29 16:00:57 +01:00
uikit Remove qmake files that provide support for building Qt modules 2023-02-27 10:10:09 +01:00
unix CMake: fix the word order in "no_direct_extern_access" 2022-07-20 14:54:20 -07:00
unsupported
wasm Support PRELOAD var substitution for WASM main html with qmake 2023-07-27 22:16:21 +02:00
win32 Remove qmake files that provide support for building Qt modules 2023-02-27 10:10:09 +01:00
benchmark.prf
build_pass.prf
cmake_functions.prf
cmdline.prf
configure.prf
configure_base.prf
coverage.prf
create_cmake.prf
ctest_testcase.prf
ctest_testcase_common.prf
ctest_testcase_installed.prf
dbusadaptors.prf
dbuscommon.pri Fix spelling of D-Bus in the source code 2023-07-06 21:51:29 +02:00
dbusinterfaces.prf
declarative_debug.prf
default_post.prf qmake: Add support for C++23 2022-04-05 14:27:50 +02:00
default_pre.prf Remove last trace of licheck 2021-04-07 11:00:41 +00:00
designer_defines.prf
device_config.prf
egl.prf
exceptions.prf
exceptions_off.prf
exclusive_builds.prf
exclusive_builds_post.prf
file_copies.prf
gc_binaries.prf
gcov.prf
include_source_dir.prf
incredibuild_xge.prf
java.prf Android: bump default javac build versions to 8 2020-09-16 20:55:10 +03:00
lex.prf
link_ltcg.prf
link_pkgconfig.prf
lrelease.prf Fix .qm file name calculation in lrelease.prf 2021-09-10 23:27:15 +02:00
ltcg.prf
metatypes.prf CMake: install the metatypes inside Qt's own arch-specific data dir 2022-11-28 10:58:13 -08:00
moc.prf Move build tools to libexec instead of the bin dir 2021-02-23 17:02:30 +01:00
no_debug_info.prf
permissions.prf Adjust permissions.prf plist path handling 2023-02-13 15:41:51 +02:00
plugin_bundle.prf
precompile_header.prf
qgltf.prf
qlalr.prf Move build tools to libexec instead of the bin dir 2021-02-23 17:02:30 +01:00
qmake_use.prf
qml_debug.prf
qml_module.prf
qml_plugin.prf
qmltestcase.prf Fix running qml tests on Android 2020-08-24 14:50:56 +03:00
qt.prf QMake: Make 'entrypoint' and 'qt' CONFIG values order-independent 2023-09-29 17:22:28 +02:00
qt_config.prf qmake: Introduce QT_HOST_LIBEXECS property 2021-02-18 11:46:42 +01:00
qt_functions.prf qmake: Resolve target suffix based on Qt build config for static plugins 2023-03-04 16:54:56 +01:00
resolve_config.prf
resolve_target.prf Use 'A' for Apple framework version instead of Qt major version 2020-09-23 16:59:06 +02:00
resources.prf qmake: Fix infinite make loop if RESOURCES contains nonexistent .qrc 2023-04-17 23:32:34 +02:00
resources_functions.prf Fix condition that adds resources for each Android ABI 2021-04-07 17:00:17 +02:00
rtti.prf
rtti_off.prf
sanitizer.prf
silent.prf
simd.prf
spec_post.prf
spec_pre.prf
static_runtime.prf
testcase.prf Android: Fix make check to work for single ABI Qt for Android builds 2020-08-26 01:13:27 +02:00
testcase_targets.prf
testcocoon.prf
testlib_defines.prf
toolchain.prf qmake: Don't error out if QMAKE_DEFAULT_LIBDIRS is empty on macOS 2023-09-13 16:22:03 +00:00
uic.prf Move build tools to libexec instead of the bin dir 2021-02-23 17:02:30 +01:00
use_c_linker.prf
vxworks.prf
warn_off.prf
warn_on.prf
wayland-scanner.prf Move qtwaylandscanner to libexec 2021-05-11 16:39:07 +00:00
xctest.prf
yacc.prf