buildspec: Update dependencies for OBS Studio 32.2.1 / Qt 6.11.1 - #333
buildspec: Update dependencies for OBS Studio 32.2.1 / Qt 6.11.1#333EdueskaWeiz wants to merge 4 commits into
Conversation
|
so what is the solution? are they gonna release a new version that is compatible with 32.2.1 |
|
The solution is use the older version of OBS until I'm able to test and make a release. It will be sometime in the next week. You can also try building it yourself in the meantime if you cannot wait |
|
Status on the three red checks from run #129 — none of them were caused by the patch itself: macOS build. The clang-format and gersemi. Both fail in their Homebrew install step, not on formatting: That affects every PR in the repo, so I split the fix out into #334 rather than bundling it here. Merging #334 first should turn those two checks green again everywhere. Windows x64 and Ubuntu 24.04 were already green in run #129 and produced artifacts, so the buildspec bump and the |
|
Is it fixed now? |
|
Now built and run-tested locally on Windows, so this is no longer just a CI-green claim. Build: Windows 11, Visual Studio Build Tools 2022 (MSVC 19.44), Runtime: installed to The dock appears, is correctly localised, and Two things I ran into that may be useful beyond this PR: 1. Duplicate installs produce a plugin that looks loaded but is broken. I had leftover copies from an earlier manual install, and the result was: The user-visible symptom is a dock titled 2. The Windows build is sensitive to which shell it is started from. The main project gets That is an architecture mismatch, not a version mismatch. The README's "x64 Native Tools Command Prompt for VS 2022" is load-bearing — possibly worth calling out explicitly, or passing an explicit architecture in |
|
Correction to my comment above: I pointed at #264 as possibly being the same duplicate-install problem. Having now read it properly, that is wrong — #264 is about button layout and the preset rename field being cut off, not about missing translations. Please ignore that pointer; the rest of the comment stands. |
Fixes glikely#331: the plugin fails to load on OBS 32.2.1 with a Qt symbol mismatch (QIODevicePrivate) because OBS 32.2.1 ships Qt 6.11.1 while the plugin still bundled QtSerialPort 6.8.3. Update the build dependencies to match OBS 32.2.1: - obs-studio sources: 31.1.1 -> 32.2.1 - prebuilt obs-deps and qt6: 2025-07-11 -> 2026-07-15 - qtserialport: 6.8.3 -> 6.11.1 (matches OBS 32.2.1 Qt version) - bump plugin version: 0.18.2 -> 0.18.3 Dependency versions and hashes verified against the OBS Studio 32.2.1 CMakePresets.json and the obs-deps 2026-07-15 release. Signed-off-by: Eddy Weiz <eddyweiz@gmail.com>
obs_properties_add_button() is deprecated in OBS 32.2.1 and triggers a -Werror build failure (C4996 / warning-as-error) under the CI presets. Switch to obs_properties_add_button2(), which forwards the source data pointer to the callback. This also fixes the Test Action button, which previously received a NULL context from the deprecated single-arg button callback. Signed-off-by: Eddy Weiz <eddyweiz@gmail.com>
OBS 32 marks the obs_data_*_autoselect_* API as OBS_DEPRECATED. The vendored properties-view.cpp still uses these (still-functional) calls, so the plugin template's warnings-as-errors turned C4996 into a build failure. Suppress only the deprecation diagnostic for this interface target instead of removing the calls, keeping behaviour unchanged. Signed-off-by: Eddy Weiz <eddyweiz@gmail.com>
OBS Studio 32.2.1 requires the macOS 26.5 SDK. The macos-15 runner only provides SDK 15.1, so configuring the freshly fetched OBS sources aborts with: Your macOS SDK version (15.1) is too low. The macOS 26.5 SDK (Xcode 26.5) is required to build OBS. Use the same runner image and Xcode version that obs-studio itself uses for the 32.2.1 release. Signed-off-by: Eddy Weiz <eddyweiz@gmail.com>
|
Great work, thanks! I've pulled all these patches into mainline. I've reordered the patches to keep the build bisectable; putting the fixes before the revision change, and merging the builder version into the buildspec change patch. That way every point in the commit chain can be built. |
Fixes #331: the plugin fails to load on OBS 32.2.1 with a Qt symbol mismatch (QIODevicePrivate) because OBS 32.2.1 ships Qt 6.11.1 while the plugin still bundled QtSerialPort 6.8.3.
Changes
buildspec.json – update build dependencies to match OBS 32.2.1:
Source/build compat fixes for the OBS 32 API (surfaced when building against 32.2.1 with the template's warnings-as-errors):
src/ptz-action-source.c: useobs_properties_add_button2()instead of the now-deprecatedobs_properties_add_button().shared/properties-view/CMakeLists.txt: silence only the C4996 /-Wdeprecated-declarationsdiagnostic for the vendoredproperties-view.cpp, which still calls the (functional butOBS_DEPRECATED)obs_data_*_autoselect_*API. The calls themselves are left unchanged so behaviour matches upstream OBS.Testing
ci=1/Build-Windows.ps1) completes with 0 warnings, 0 errors and producesobs-ptz.dll+Qt6SerialPort.dll(6.11.1).Notes
CMakePresets.jsonand the obs-deps 2026-07-15 release.