tst_QStringRef: ensure QStringRef implicitly converts to QStringView


It did, in Qt 5, but the test, if ever there was one, was lost when
QStringRef moved out of QtCore.

Pick-to: 6.7 6.6 6.5 6.2
Change-Id: I3440074eb8678adaf317ff888c9f11d1a1e4c8ec
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
commit322b7f92e74cfd48e45a1634605b2d7a5935314c
parentb08e6a2ec7a7bde3c663532f87f0396acbf88395
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeFri, 1 Mar 2024 09:46:23 +0100