Qt Base (Core, Gui, Widgets, Network, ...)
Go to file
Tor Arne Vestbø e462567183 cmake: Persist macOS SDK name, to work around CMake 4.x
CMake 4 stopped passing explicit toolchain and SDK paths, which
results in lots of sharp corners.

For example, with xcode-select pointing to /Applications/Xcode.app
but with Xcode command line tools installed, CMake will build with
/usr/bin/c++, which xcrun resolves to the Xcode toolchain, but
as CMake doesn't pass a sysroot, it ends up using the command line
tools SDK. This is bad and surprising when the selected Xcode
version's SDKs doesn't match the command line tools.

CMake 4.0.2 was supposed to fix this, but it seemingly doesn't
work. As a workaround, set CMAKE_OSX_SYSROOT for macOS as well,
which triggers CMake or xcrun to pass a sysroot, giving us what
we want.

Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ia6d051477a48c4c8e5e90feae67cc8d2734d8e1b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-07-31 20:25:59 +00:00
.github/workflows
LICENSES Merge Wayland client from qtwayland repository into qtbase 2025-05-13 01:50:43 +02:00
bin CMake: Don't hard-code "libexec" in qt-configure-module 2024-08-16 12:36:35 +02:00
cmake cmake: Persist macOS SDK name, to work around CMake 4.x 2025-07-31 20:25:59 +00:00
coin Enable vcpkg usage for crosscompiled tests 2025-07-16 15:54:22 +02:00
config.tests CMake: Remove superfluous precompile_header feature and config test 2025-03-07 12:02:47 +01:00
dist Remove year from Qt Copyright in REUSE.toml 2025-07-09 15:16:21 +02:00
doc Doc: Update link from VxWorks to Qt Creator documentation when QC 17.0 is released 2025-07-31 12:35:04 +00:00
examples Replace treemodel-structure.png with an svg in simpletreemodel.qdoc 2025-07-10 20:38:18 +02:00
lib
libexec Android: account for namespace = androidPackageName in runner script 2025-07-26 04:38:56 +03:00
mkspecs Remove relics of objc_namespace script 2025-07-31 20:35:05 +08:00
qmake Fail builds on Apple platforms with invalid Info.plist 2025-07-04 15:02:22 +02:00
src Hide warning on deprecated NSWindowStyleMaskTexturedBackground 2025-07-31 20:48:23 +02:00
tests QWidgetBaselineTest: Wait for window expose after show 2025-07-31 20:48:23 +02:00
util wasm: Properly separate lines in test output 2025-07-17 17:05:21 +02:00
.cmake.conf Bump minimum requirement for visionOS to version 2 2025-06-20 15:25:11 +02:00
.gitattributes
.gitignore Fix .gitignore to ignore any build dir under the repo or its subdirs 2025-07-22 19:12:39 +00:00
.gitreview Add .gitreview file 2025-03-24 23:19:04 +01:00
.tag
CMakeLists.txt CMake: Don't unconditionally enable the ASM language 2025-05-02 18:13:14 +02:00
REUSE.toml Add android tempaltes to the REUSE.toml 2025-07-10 16:13:27 +02:00
config_help.txt Make doc-snippets a "build part", ie -nomake/make doc-snippets 2025-07-30 16:01:51 +02:00
configure
configure.bat configure.bat: Use call when calling the helper cmake scripts 2025-01-30 22:18:36 +01:00
configure.cmake wasm: require wasm-exceptions for jspi 2025-07-17 13:57:57 +02:00
dependencies.yaml
licenseRule.json Fix typo in licenseRule.json 2025-07-04 16:43:53 +02:00
qt_cmdline.cmake Make doc-snippets a "build part", ie -nomake/make doc-snippets 2025-07-30 16:01:51 +02:00