Repository navigation
ci: Qt native test graph on Windows/macOS (#1878, slice 2) - #1968
Merged
Merged
Conversation
…SDKs (RED, #1878) Adds native_test_graph_generates_qt_metaobjects (Cargo and CMake halves) to the Windows and macOS Qt SDK step. Expected to fail until the MSVC and framework link paths work.
qt_sdk_resolves_macos_frameworks_for_each_universal_slice fails: the interface has no -F<prefix>/lib, so <QtCore/qobject.h> from a framework header is not found (macOS CI, native_test_graph_generates_qt_metaobjects).
…ndows (GREEN, #1878) - Each lib/<M>.framework/Headers include directory adds -F<lib> once, so framework headers resolve <QtCore/qobject.h>. - qt.rs canonicalizes with dunce: moc and the moc group wrote \\?\C:\... includes that cl.exe cannot open.
zackees
force-pushed
the
infra/1878-qt-native-win-mac
branch
from
October 23, 2026 19:55
0323c06 to
cf8c149
Compare
…1878) On Windows the generated answer.exe never exited (run 40015194009, cancelled after 36 min). The test now kills it after 60 s and prints its stdout/stderr; ctest gets --timeout 60, and the CI step a 15 min limit.
The published Windows Qt SDK ships qminimal, qwindows and qdirect2d but no qoffscreen, so answer.exe hung in Qt's fatal-error path (killed after 60 s with no output, run 40022893426). minimal ships in all three SDKs.
zackees
marked this pull request as ready for review
October 23, 2026 21:41
zackees
enabled auto-merge
October 23, 2026 21:41
5 tasks
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.
Refs #1878 (slice 2). #1966 (slice 1) has merged.
native_build::native_test_graph_generates_qt_metaobjects(moc, uic and rcc, then link and run, through Cargo and CMake) now passes against the published Qt 6.11.1 SDKs on the Windows and macOS lanes (run 40026510121; the step took 25 s on Windows and 36 s on macOS).--features libobs-integration, withOBS_QT_TARGET_PREFIX,CMAKE_PREFIX_PATHandQT_PLUGIN_PATH, plusPATHon Windows). Run 40012359434 failed on both OSes:QtCore.framework/Headers/QObject:1:10: fatal error: 'QtCore/qobject.h' file not found.moc_0.cpp(9): fatal error C1083: Cannot open include file: '\\?\C:\...\answer.hpp'.qt_sdk_resolves_macos_frameworks_for_each_universal_sliceexpects-F<prefix>/libonce in the interface. It fails locally.lib/<M>.framework/Headersinclude directory adds the framework search path-F<lib>(platform::qt_framework_search).qt.rscanonicalizes withdunce, so moc and cl.exe never see a\\?\verbatim path.answer.exethen hung with no output (run 40015194009, cancelled after 36 min). The test now kills a Qt program after 60 s and prints its output, ctest gets--timeout 60, and the CI step has a 15 min limit.qoffscreen(onlyqminimal,qwindowsandqdirect2d). The test now usesQT_QPA_PLATFORM=minimal, which all three SDKs ship. build: compile and run Cargo Qt graph tests against published Windows/macOS Qt SDKs #1878's acceptance criterion saysoffscreen; addingqoffscreento the Windows SDK would be an obs-studio-libs change.Still open on #1878:
canonical_remux_queue_runs_unchanged, which needs cmocka on both hosts, and the macOS x86_64 run (the arm64 runner checks only x86_64 resolution).Tiers: Tier 1 (
tests/qt_sdk.rs) and the native graph test on the OS lanes. Tiers 2 to 4 do not apply.