Port from QStringRef to QStringView, QStringRef is gone in Qt6
The QStringView::to() methods in Qt5 cause one extra allocation compared to the QStringRef counter-part. As long as we aren't on a hot path this is probably not worth the extra #ifdef though.
There is one more use remaining, but that is code needing closer investigation as it's suspected to use dangling refs/views.