According to [1], QStringRef will be in a qt5compat module.
[1]https://code.qt.io/cgit/qt/qt5compat.git/tree/src/core5/text
The plans have changed, and now we actually require Qt5.15, so we should start porting away from QStringRef; some stuff will have to wait until the branching, e.g. QStringView::toInt() in Qt5 is implemented just to keep code working but isn't efficient (see the QStringView docs for such issues, things like toInt() should wait till the branching or we could use #ifdef kludges... again).
Frameworks that have QStringRef|rightRef|midRef|leftRef:
- attica
- baloo
- kactivities-stats
- kbookmarks
- kcalendarcore
- kcompletion
- kconfig
- kcontacts
- kcoreaddons
- kfilemetadata
- kguiaddons
- ki18n
- kiconthemes
- kirigami
- knewstuff
- knotifications (only in some windows-sepcific code)
- kpackage
- kservice
- ktexteditor
- ktextwidgets
- kwayland
- kwidgetsaddons
- plasma-framework
- solid
- sonnet https://invent.kde.org/frameworks/sonnet/-/merge_requests/20
- syntax-highlighting