You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: frontend: does not build with Qt 6.8 (Debian 13): QString::arg(std::string_view) #1015
The frontend does not compile with Qt 6.8. InstalledPluginRow.cpp passes a std::string_view to QString::arg(). Qt 6.8 has no arg() overload that accepts std::string_view. CI builds with Qt 6.11.1, which accepts it, so CI does not show the error.
Location
frontend/plugin-manager/InstalledPluginRow.cpp, line 103:
constexpr std::string_view kLegacyPluginInfoLink{"https://obsproject.com/go/legacy-plugin-locations"};
...
new QLabel{QTStr("PluginManager.Status.Legacy.Description").arg(kLegacyPluginInfoLink),
InstalledPluginRow.cpp:103:96: error: no matching function for call to 'QString::arg(const std::string_view&)'
qt6/QtCore/qstring.h:290:5: note: candidate: 'template<class ... Args> ... QString::arg(Args&& ...) const'
(requires sizeof...(Args) >= 2, and each argument convertible to QString, QStringView or QLatin1String)
This is the only compile error with Qt 6.8.2 on current master. With a local fix for this line, the full frontend builds and runs (production use on Debian 13 since 2026-10-15).
The string is unchanged; this compiles with Qt 6.8 and newer. No behaviour change.
There is no failing test: the error is at compile time and only with a Qt version that CI does not use. CI shows that the fix still builds with Qt 6.11.1.
Open question (not part of the fix)
frontend/cmake/ui-qt.cmake calls find_package(Qt6 REQUIRED ...) without a minimum version. Should the fork declare a minimum Qt version, or add a build lane with an older distribution Qt (for example Debian 13, Qt 6.8)? Without one of the two, a similar error can come back without notice.
One commit: convert the link with QString::fromUtf8() before arg(). No RED commit: the error is at compile time with Qt 6.8 only, and CI uses Qt 6.11.1, so no CI test can fail first. Verified locally on Debian 13 (Qt 6.8.2).
PR today.
Activity
vpacher commentedon Oct 16, 2026
Claiming: this issue.
QString::fromUtf8()beforearg(). No RED commit: the error is at compile time with Qt 6.8 only, and CI uses Qt 6.11.1, so no CI test can fail first. Verified locally on Debian 13 (Qt 6.8.2).PR today.
frontend: Build with Qt 6.8 (QString::arg) (obs-rust#1017)