Skip to content

build: qt windows cross build broken on macOS #34874

Closed

Description

@fanquake

On a macos machine:

make -C depends HOST=x86_64-w64-mingw32
....
-- Configuring submodule 'qtbase'
-- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
CMake Error at qtbase/cmake/QtPublicAppleHelpers.cmake:976 (message):
  Qt requires at least version 15 of Xcode, youre building against version .
  Please upgrade.  You can turn this error into a warning by configuring with
  -DQT_FORCE_WARN_APPLE_SDK_AND_XCODE_CHECK=ON, but the build will likely
  fail.  Use at your own risk.
Call Stack (most recent call first):
  qtbase/cmake/QtBuildHelpers.cmake:457 (_qt_internal_check_apple_sdk_and_xcode_versions)
  qtbase/cmake/QtBuild.cmake:4 (qt_internal_setup_build_and_global_variables)
  qtbase/cmake/QtSetup.cmake:6 (include)
  qtbase/cmake/QtBuildRepoHelpers.cmake:21 (include)
  qtbase/cmake/QtBuildRepoHelpers.cmake:232 (qt_build_internals_set_up_private_api)
  qtbase/cmake/QtBaseHelpers.cmake:154 (qt_build_repo_begin)
  qtbase/CMakeLists.txt:32 (qt_internal_qtbase_build_repo)


-- Configuring incomplete, errors occurred!
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:1139 (message):
  CMake exited with code 1.

Activity

  1. added a commit that references this issue on Mar 22, 2026
  2. added a commit that references this issue on Jun 28, 2026
  3. added a commit that references this issue on Jun 30, 2026
  4. added a commit that references this issue on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions