Skip to content

Work around QTBUG-145239 with a local patch#1506

Merged
hiroyuki-komatsu merged 1 commit into
google:masterfrom
ciceroaware:issue_1455
May 10, 2026
Merged

Work around QTBUG-145239 with a local patch#1506
hiroyuki-komatsu merged 1 commit into
google:masterfrom
ciceroaware:issue_1455

Conversation

@yukawa
Copy link
Copy Markdown
Collaborator

@yukawa yukawa commented May 8, 2026

Description

This commit implements a quick workaround for QTBUG-145239, which causes build failure when building Qt 6.9.1 with XCode 26.4.

Ideally we should switch to Qt 6.11.1 or lather that has the fix for QTBUG-145239, but doing so requires us to bump the minimum supported OS version to macOS 13 (#1458), which is also a non-trivial change.

At the same time, macos-26 image in the GitHub Actions Runners GitHub is going to switch to XCode 26.4.1 in the week of May 11, 2026 (actions/runner-images#14001). We need some stopgap solution here.

Let's patch the code in question locally in build_qt.py.

Closes #1455.

Issue IDs

Steps to test new behaviors (if any)

A clear and concise description about how to verify new behaviors (if any).

  • OS: macOS 26.4.1
  • Steps:
    1. Make sure XCode 26.4.1 is installed
    2. Confirm python3 build_tools/build_qt.py --release --confirm_license finishes without any error

Comment thread src/build_tools/build_qt.py Outdated
This commit implements a quick workaround for QTBUG-145239 [1], which
causes build failure when building Qt 6.9.1 with XCode 26.4.

Ideally we should switch to Qt 6.11.1 or lather that has the fix for
QTBUG-145239 [2], but doing so requires us to bump the minimum supported
OS version to macOS 13 (google#1458), which is also a non-trivial change.

At the same time, macos-26 image in the GitHub Actions Runners GitHub is
going to switch to XCode 26.4.1 in the week of May 11, 2026 [3]. We need
some stopgap solution here.

Let's patch the code in question locally in build_qt.py.

Closes google#1455.

 [1]: https://qt-project.atlassian.net/browse/QTBUG-145239
 [2]: https://codereview.qt-project.org/c/qt/qtbase/+/724619
 [3]: actions/runner-images#14001
@hiroyuki-komatsu hiroyuki-komatsu merged commit 9df9774 into google:master May 10, 2026
1 check passed
@hiroyuki-komatsu
Copy link
Copy Markdown
Collaborator

We have merged your PRs.
Thank you for the contribution!

@yukawa yukawa deleted the issue_1455 branch May 10, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build_qt.py fails with Xcode 26.4 on macOS

2 participants