Repository navigation
build: add canonical Qt generation and migrate the remux queue test - #1853
Conversation
|
Current head: e319e72. Holding the branch for CI. Two hosted failures now have focused RED/GREEN fixes:
Current-head run: https://github.com/obs-rust/obs-studio/actions/runs/39882803965 No completion claim for #1332; all full-application/platform/configuration/packaging acceptance requirements remain in scope. |
|
Current head 4472bc8 restores the original remux test's per-target AUTOMOC mechanism in the CMake graph consumer. Declared moc headers are added as target sources; Cargo retains explicit generation. The isolated explicit moc paths fixed the reproducible two-target output collision, but the subsequent native macOS job still rejected generated parameter files with different evaluated contents inside that isolated path. That implementation therefore was not a complete native macOS fix. The current change avoids those manual Qt parameter files by preserving CMake AUTOMOC. Real two-target shared-header Qt generation/build/execution (including UI and resource checks), and the unchanged remux queue test, both pass through Cargo and CMake in the bounded Linux container. Evidence: Native macOS confirmation remains required in current-head CI: https://github.com/obs-rust/obs-studio/actions/runs/39883766790 Branch held unchanged for CI; #1332 remains open and CMake remains authoritative. |
Scope
Refs #1332. Extend the canonical native test graph with Qt generation and migrate the unchanged remux queue model test. CMake remains authoritative; this does not complete the full application conversion.
cmocka_qt_runtimehelper. Cargo callers supply resolved SDK runtime paths; unresolved runtime interfaces fail before launching.RED → GREEN
Separate commits preserve each failing contract and implementation: include precedence (38bc15d → c780688), metaobjects (10265ce → e37af72), UI/resources (6ebbe09 → 6656956), runtime path ordering (fff4822 → 6dee188), remux graph requirements (a377e10 → 6976ba3).
Collision review followup: the initial fixture had an empty test map and failed for an unrelated reason. Corrected fixture d076f2a was rerun against the pre-fix parser and failed because collisions were accepted; 71a256b rejects them. Evidence:
/tmp/obs-1332-qt-collision-corrected-red.logand/tmp/obs-1332-qt-graph-contracts.log.Validation
./lint: passed (95.4 s).obs-tests-appbinary,native_test_graphfilter: 10 passed./tmp/obs-1332-qt-ui-resource-green.log)./tmp/obs-1332-remux-native-green.log).No existing C/C++ test sources or public headers changed; no new Rust test executable, workflow, worktree, or admin merge. The unrelated browser submodule mismatch is excluded.
Coverage limits
Actual Qt generation/remux execution evidence here is Linux. Hosted CI must establish native Windows/macOS CMake compatibility; full Cargo SDK/runtime integration on those hosts remains part of #1332. Caller-resolved runtime interfaces do not prove SDK discovery. Full-application profiles, remaining targets, packaging and compiler/cache acceptance remain outstanding.