Skip to content

Fix compilation against Qt 6.7

Yifan Zhu requested to merge work/fanzhuyifan/fix into master

QUrl::fromEncoded(const QByteArray &url...) is removed in Qt 6.7 in favor of QUrl::fromEncoded(QByteArrayView input...). Wrap the corresponding argument in QByteArray() to make the cast explicit. This is backwards-compatible with old Qt versions.

See qt/qtbase commit aa481854a98b1be0a061257ae4e817adcf1f77fc https://github.com/qt/qtbase/commit/aa481854a98b1be0a061257ae4e817adcf1f77fc

BUG: 478857

Merge request reports

Loading