2022-03-18 11:16:30 +00:00
|
|
|
# set (git) module specific defines, but only if we are actually qtbase
|
|
|
|
# do _not_ set them as the global toplevel configuration
|
|
|
|
# we check for QT_REPO_MODULE_VERSION before defining it below; that will
|
|
|
|
# ensure that when this file is included the second time in a toplevel buld
|
|
|
|
# (directly by qtbase) we actually add the extra definitions
|
|
|
|
if (NOT DEFINED QT_SUPERBUILD OR DEFINED QT_REPO_MODULE_VERSION)
|
|
|
|
set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_LEAN_HEADERS=1")
|
|
|
|
endif()
|
|
|
|
|
2025-06-04 09:38:40 +00:00
|
|
|
set(QT_REPO_MODULE_VERSION "6.11.0")
|
2021-05-27 08:24:35 +00:00
|
|
|
set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
|
2020-11-30 07:46:49 +00:00
|
|
|
|
2024-02-05 13:28:06 +00:00
|
|
|
set(QT_COPYRIGHT "Copyright (C) The Qt Company Ltd. and other contributors.")
|
2023-03-14 12:31:39 +00:00
|
|
|
|
2021-10-04 10:20:26 +00:00
|
|
|
# Minimum requirement for building Qt
|
2024-11-13 12:24:55 +00:00
|
|
|
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_QT_SHARED "3.22")
|
|
|
|
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_QT_STATIC "3.22")
|
|
|
|
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_QT_APPLE "3.22")
|
2021-07-22 14:23:51 +00:00
|
|
|
|
2021-10-04 10:20:26 +00:00
|
|
|
# Minimum requirement for consuming Qt in a user project.
|
2021-07-22 14:23:51 +00:00
|
|
|
# This might be different in the future, e.g. be lower than the requirement for
|
|
|
|
# building Qt.
|
2024-11-13 12:24:55 +00:00
|
|
|
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_USING_QT_SHARED "3.22")
|
|
|
|
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_USING_QT_STATIC "3.22")
|
|
|
|
set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_USING_QT_APPLE "3.22")
|
2020-11-30 07:46:49 +00:00
|
|
|
|
2024-11-13 15:59:23 +00:00
|
|
|
# Policy settings for commands defined by qtbase.
|
|
|
|
# These will also be injected into the top level policy scope of each Qt
|
|
|
|
# repo when building Qt so that repos have the same policy settings as
|
|
|
|
# qtbase by default. They can be overridden by individual Qt repos
|
|
|
|
# in their own .cmake.conf files if needed.
|
|
|
|
# This affects both internal and public api commands, because the policies are
|
|
|
|
# written into the generated QtFooConfig.cmake.in files.
|
2020-11-30 07:46:49 +00:00
|
|
|
#
|
2024-11-13 15:59:23 +00:00
|
|
|
# NOTE: Some of these values are also hard-coded in
|
|
|
|
# QtBuildInternalsConfig.cmake at the top of the file
|
2020-11-30 07:46:49 +00:00
|
|
|
# because that file is used in-place by a superbuild, so there is no
|
|
|
|
# opportunity for substituting the values from here. Keep both locations
|
|
|
|
# in sync.
|
2024-11-13 15:59:23 +00:00
|
|
|
# TODO: Figure out how to handle the platform values there
|
|
|
|
# given we now set them conditionally
|
|
|
|
set(QT_MIN_NEW_POLICY_CMAKE_VERSION_QT_SHARED "3.16")
|
|
|
|
set(QT_MIN_NEW_POLICY_CMAKE_VERSION_QT_STATIC "3.16")
|
|
|
|
set(QT_MIN_NEW_POLICY_CMAKE_VERSION_QT_APPLE "3.16")
|
|
|
|
|
|
|
|
set(QT_MAX_NEW_POLICY_CMAKE_VERSION_QT_SHARED "3.21")
|
|
|
|
set(QT_MAX_NEW_POLICY_CMAKE_VERSION_QT_STATIC "3.21")
|
|
|
|
set(QT_MAX_NEW_POLICY_CMAKE_VERSION_QT_APPLE "3.21")
|
2023-11-28 14:04:16 +00:00
|
|
|
|
2024-10-31 17:40:17 +00:00
|
|
|
# Apple version constraints. Used when building Qt and documentation
|
2024-08-21 10:58:30 +00:00
|
|
|
set(QT_SUPPORTED_MIN_MACOS_SDK_VERSION "14")
|
2025-09-04 06:32:20 +00:00
|
|
|
set(QT_SUPPORTED_MAX_MACOS_SDK_VERSION "26")
|
2024-08-21 10:58:30 +00:00
|
|
|
set(QT_SUPPORTED_MIN_MACOS_XCODE_VERSION "15")
|
2025-04-24 10:49:53 +00:00
|
|
|
set(QT_SUPPORTED_MIN_MACOS_VERSION "13")
|
2025-09-04 06:32:20 +00:00
|
|
|
set(QT_SUPPORTED_MAX_MACOS_VERSION_TESTED "26")
|
2023-11-28 14:04:16 +00:00
|
|
|
|
2024-08-21 10:58:30 +00:00
|
|
|
set(QT_SUPPORTED_MIN_IOS_SDK_VERSION "17")
|
2025-09-04 06:32:20 +00:00
|
|
|
set(QT_SUPPORTED_MAX_IOS_SDK_VERSION "26")
|
2024-08-21 10:58:30 +00:00
|
|
|
set(QT_SUPPORTED_MIN_IOS_XCODE_VERSION "15")
|
2025-04-24 10:49:53 +00:00
|
|
|
set(QT_SUPPORTED_MIN_IOS_VERSION "17")
|
2025-09-04 06:32:20 +00:00
|
|
|
set(QT_SUPPORTED_MAX_IOS_VERSION_TESTED "26")
|
2024-03-18 18:35:52 +00:00
|
|
|
|
2025-06-19 14:56:03 +00:00
|
|
|
set(QT_SUPPORTED_MIN_VISIONOS_SDK_VERSION "2")
|
2024-08-02 13:23:06 +00:00
|
|
|
set(QT_SUPPORTED_MAX_VISIONOS_SDK_VERSION "2")
|
2024-03-18 18:35:52 +00:00
|
|
|
set(QT_SUPPORTED_MIN_VISIONOS_XCODE_VERSION "15")
|
2025-06-19 14:56:03 +00:00
|
|
|
set(QT_SUPPORTED_MIN_VISIONOS_VERSION "2")
|
2024-10-31 17:40:17 +00:00
|
|
|
set(QT_SUPPORTED_MAX_VISIONOS_VERSION_TESTED "2")
|
2024-03-18 18:35:52 +00:00
|
|
|
|