Skip to content

Conversation

@bjeurissen
Copy link
Member

Qt5 links to both OpenGL and AGL for OpenGL apps, but AGL is no longer included in MacOS Tahoe/Xcode26 (https://bugreports.qt.io/browse/QTBUG-137687). This will cause our configure script to fail on latest macOS. This issue will not be addressed in future Qt5 versions (only in Qt6), but we can work around it by explicitly linking only to OpenGL.

Qt5 links to both OpenGL and AGL for OpenGL apps, but AGL is no longer included in MacOS Tahoe/Xcode26 (https://bugreports.qt.io/browse/QTBUG-137687). This will cause our configure script to fail on latest macOS. This issue will not be addressed in future Qt5 versions (only in Qt6), but we can work around it by explicitly linking only to OpenGL.
@bjeurissen bjeurissen requested a review from Copilot October 4, 2025 11:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the configure script to ensure compatibility with Xcode 26 on macOS Tahoe by explicitly setting the OpenGL framework linking configuration for Qt5 applications.

  • Adds explicit OpenGL framework linking configuration for macOS builds
  • Works around Qt5's default behavior of linking to both OpenGL and deprecated AGL frameworks
  • Prevents configure script failures on latest macOS/Xcode versions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bjeurissen bjeurissen requested review from Copilot and daljit46 October 4, 2025 11:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@bjeurissen
Copy link
Member Author

Confirmed to work both pre-deprecation of AGL (macOS Sequoia) as post-deprecation of AGL (macOS Tahoe), so I think this change is solid.

Copy link
Member

@daljit46 daljit46 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daljit46 daljit46 added this pull request to the merge queue Oct 6, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 6, 2025
@daljit46 daljit46 added this pull request to the merge queue Oct 7, 2025
Merged via the queue into master with commit a6edef2 Oct 7, 2025
5 checks passed
@daljit46 daljit46 deleted the xcode26-fix branch October 7, 2025 08:39
@jdtournier jdtournier mentioned this pull request Oct 20, 2025
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.

3 participants