Repository navigation
frontend-tools: Skip the plugin when the frontend is off (Fast Gate fix) - #1045
Merged
Merged
Conversation
frontend-tools is frontend UI and requires Qt. Return before find_package(Qt6) when ENABLE_FRONTEND is OFF, as the AJA, DeckLink, VST and websocket plugins do with their own options, so the Fast Gate's Qt-free configure succeeds.
zackees
enabled auto-merge
October 16, 2026 08:33
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.
Unblocks #1016, #1031, #1037 and any PR whose Fast Gate builds C.
Bug: the Fast Gate from #1013 configures the touched Linux targets with no Qt:
ENABLE_FRONTEND=OFF, plus the AJA, DeckLink, VST, websocket and other options off.plugins/frontend-tools/CMakeLists.txtcallsfind_package(Qt6 REQUIRED Widgets)with no opt-out, so the configure stops:PRs that skip that step, such as CI-only ones, passed. This is why the failure hit only some PRs.
RED:
ci/test_qt_plugins_opt_out.pychecks that everyplugins/*/CMakeLists.txtthat requires Qt6 has anif(NOT ENABLE_...) ... return()before it. On master it fails forfrontend-toolsonly.GREEN:
frontend-toolsreturns early whenENABLE_FRONTENDis OFF. That is the same pattern asaja-output-uiwithENABLE_AJA. The test and gersemi pass.Frontend builds are unchanged, because
ENABLE_FRONTENDdefaults to ON.test_output_timercompiles thefrontend-toolssources directly and does not depend on the plugin target.