Repository navigation
frontend: Build with Qt 6.8 (QString::arg) - #1017
Merged
Merged
Conversation
InstalledPluginRow.cpp passed a std::string_view to QString::arg(). Qt 6.8 has no arg() overload for std::string_view, so the frontend did not compile on Debian 13 (Qt 6.8.2). CI uses Qt 6.11.1, which accepts it. Convert the link with QString::fromUtf8() first. The text is the same; no change in behaviour. Fixes obs-rust#1015. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Fixes #1015
What and why
frontend/plugin-manager/InstalledPluginRow.cpppasses astd::string_view(kLegacyPluginInfoLink) toQString::arg(). Qt 6.8 has noarg()overload forstd::string_view, so the frontend does not compile on Debian 13 (Qt 6.8.2):CI uses Qt 6.11.1, which accepts it, so CI does not show the error.
This PR converts the link with
QString::fromUtf8()beforearg(). The text is the same. No change in behaviour.RED → GREEN
qt6-base-dev6.8.2, GCC: the error above, and it is the only compile error.obs-studio-rust-gui. The Qt frontend CI lane checks Qt 6.11.1.ENABLE_RUST_LIBOBS=ON) since 2026-10-16. The Plugin Manager dialog itself was not opened.Checklist
master(or the description starts with a Stacked: note)-W..., ratchets): noneNotes:
./lintand the local gate were not run.🤖 Generated with Claude Code