[qt5-base] Fix build error on macOS 26 Tahoe#48298
[qt5-base] Fix build error on macOS 26 Tahoe#48298BillyONeal merged 4 commits intomicrosoft:masterfrom
Conversation
macOS 26 Tahoe has removed OpenGL APIs from its SDK. OpenGL is not needed for building Qt, so we can just remove the dependency. See: https://bugreports.qt.io/browse/QTBUG-137687 Fixes microsoft#47881
|
@microsoft-github-policy-service agree |
BillyONeal
left a comment
There was a problem hiding this comment.
I'm happy to merge this if the build passes but note that open source qt5 is end of life, as indicated in the linked qtbug.
|
I know, but we still need to build with it. |
That's understood, and that's why we're merging it. I just want to put that disclaimer when we do so that next time someone shows up with a qt5 patch they aren't pointing to this going "well you did it here so why won't you do it with other patch". This patch is mostly only touching build system stuff so it's well within the kind of thing we would normally patch. But we aren't going to become effectively the new upstream maintainers for qt5; if a patch touches a lot of product code we are likely to not be able to merge that no matter how righteous. It's just about if/when that happens people not being surprised / disappointed because they expected something implicitly :) |
|
My guess is that the build failures are baseline issues, looking at fixing that |
|
The failing feature in all cases is |
00e8d70
| OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
| if(${OSX_SDK_VERSION} VERSION_GREATER_EQUAL 26) | ||
| # macOS 26 Tahoe has removed OpenGL APIs https://bugreports.qt.io/browse/QTBUG-137687 | ||
| list(APPEND PATCHES patches/macos26-opengl.patch) |
There was a problem hiding this comment.
If AGL is not used, why is this patch conditional?
There was a problem hiding this comment.
I don't know exactly whether how it's used and I didn't want to break something unnecessarily. The Qt issue only said that it's not needed.
|
When I build locally, it asks me at some point to install autotools via homebrew. Buts it's been doing that for a while. |
Head branch was pushed to by a user without write access
|
Thanks! Also thanks for the review @Osyotr ! |
Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
Advance vcpkg baseline to fix macOS Qt building Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
- Fix markdown type for >= QT 5.15.18 (#12654) - Fix deprecation warnings about implicit capturing of "this" - Advance vcpkg baseline to fix macOS Qt building Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
- Fix markdown type for >= QT 5.15.18 (#12654) - Fix deprecation warnings about implicit capturing of "this" - Advance vcpkg baseline to fix macOS Qt building Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
…e vcpkg baseline - Fix markdown type for >= QT 5.15.18 (keepassxreboot#12654) - Fix deprecation warnings about implicit capturing of "this" - Advance vcpkg baseline to fix macOS Qt building Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
- Fix markdown type for >= QT 5.15.18 (#12654) - Fix deprecation warnings about implicit capturing of "this" - Advance vcpkg baseline to fix macOS Qt building Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
- Fix markdown type for >= QT 5.15.18 (#12654) - Fix deprecation warnings about implicit capturing of "this" - Advance vcpkg baseline to fix macOS Qt building Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
…e vcpkg baseline - Fix markdown type for >= QT 5.15.18 (keepassxreboot#12654) - Fix deprecation warnings about implicit capturing of "this" - Advance vcpkg baseline to fix macOS Qt building Fixes Qt build errors on macOS 26 Tahoe. See microsoft/vcpkg#48298
macOS 26 Tahoe has removed AGL APIs from its SDK. AGL is not needed for building Qt, so we can just remove the dependency.
See: https://bugreports.qt.io/browse/QTBUG-137687
Fixes #47881
./vcpkg x-add-version --alland committing the result.