Skip to content

frontend-tools: Skip the plugin when the frontend is off (Fast Gate fix) - #1045

Merged
zackees merged 2 commits into
masterfrom
ci/fast-gate-frontend-tools
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/fast-gate-frontend-tools

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

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.txt calls find_package(Qt6 REQUIRED Widgets) with no opt-out, so the configure stops:

CMake Error at plugins/frontend-tools/CMakeLists.txt:3 (find_package):
  Could not find a package configuration file provided by "Qt6"
-- Configuring incomplete, errors occurred!

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.py checks that every plugins/*/CMakeLists.txt that requires Qt6 has an if(NOT ENABLE_...) ... return() before it. On master it fails for frontend-tools only.
GREEN: frontend-tools returns early when ENABLE_FRONTEND is OFF. That is the same pattern as aja-output-ui with ENABLE_AJA. The test and gersemi pass.

Frontend builds are unchanged, because ENABLE_FRONTEND defaults to ON. test_output_timer compiles the frontend-tools sources directly and does not depend on the plugin target.

The Fast Gate (#1013) configures the touched Linux targets with no Qt.
frontend-tools calls find_package(Qt6 REQUIRED) unconditionally, so that
configure fails on every PR that builds C (#1016, #1031, #1037).
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 zackees added the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 16, 2026
@zackees
zackees enabled auto-merge October 16, 2026 08:33
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit 6906f02 Oct 16, 2026
20 checks passed
@zackees
zackees deleted the ci/fast-gate-frontend-tools branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant