Port QStringRef (deprected) to QStringView
QXmlStreamAttributes::value() returns a QStringRef in Qt5 and a QStringView in Qt6, so port with a "using" hack to avoid QStringView::toInt() in Qt5.
KF6 task: https://phabricator.kde.org/T13913
QXmlStreamAttributes::value() returns a QStringRef in Qt5 and a QStringView in Qt6, so port with a "using" hack to avoid QStringView::toInt() in Qt5.
KF6 task: https://phabricator.kde.org/T13913