Repository navigation
cmake/cross: Compile the frontend's Windows and macOS Qt groups (#2408) - #2410
Merged
Merged
Conversation
zackees
enabled auto-merge
October 25, 2026 19:17
Member
Author
|
Coordinator: Format / checks fails in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2408 and #1294.
PR CI's
Cross Compile 🧰job (#2407) now also compiles the frontend's Windows and macOS Qt groups. That covers the group #2176 broke, which only the nightly Windows app build caught (#2359).How
cmake/cross/CMakeLists.txtgets three things:CMakePresets.jsonqt6pin andbuildspec_commoncode the real build uses. That's Qt 6.11.1 for bothwindows-x64andmacos-universal.ui_*.hforfrontend/formswithuicfrom the pinned Linux Qt 6.11.1, which is the assetbuild-project.yamlalready fetches. The newci/test_cross_qt.pykeeps the two pins equal.frontend-windows-cross:windows-obs-main,windows-platform,windows-nativeeventfilter,windows,windows-autoupdatethread,plugin-manager-pluginmoduleloader_windows.frontend-macos-cross:macos,macos-mm,macos-arc-mm(with-fobjc-arc -fmodules -fcxx-modules, as inos-macos.cmake),crypto-macos-mm,sparkle.ui-config.hfrom the real template without credentials, and theDL_*graphics module names.Because the cross
CMakeLists.txtnow namesDIR frontend,ci/ci_scope.pyselects frontend host files such asfrontend/build/frontend-windows-obs-main.pch.hpp. Shared frontend files likeOBSApp.cpp.hppstill select nothing.Evidence (local,
cmake/cross/docker.sh)win-x64: exit 0. All six frontend Windows groups and their PCH compile.mac-arm64: exit 0. All five frontend macOS groups and their ObjC++ PCH compile.shellapi.hbeforewindows.hinfrontend-windows-obs-main.pch.hpp), andwin-x64failed. The error isFAILED: CMakeFiles/frontend-windows-cross.dir/cmake_pch.hxx.pch, thenshellapi.h:68:1: error: unknown type name 'EXTERN_C'andunknown type name 'DECLARE_HANDLE', the same break the nightly hit. I restored the file afterwards.test: ... (RED, #2408)):test_cross_scopeandtest_cross_qtfail 8 cases against master's cross CMakeLists. GREEN: they pass, along withtest_cross_sourcesandtest_ci_scope. gersemi 0.25.0 is clean.Not included
sparkle-arc-mmandsparkle-delegate-mmgroups: they needSparkle.framework, which the prebuilt deps don't provide.plugins/frontend-tools' Qt groups: its host C group is already covered.