tst_qutf8: port from QScopedPointer to std::unique_ptr


In preparation of introducing QT_NO_SCOPED_POINTER.

Pick-to: 6.9 6.8
Task-number: QTBUG-132215
Change-Id: I2d85fde7ee153bd165709c3e11976531d23da343
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
commit6b5138b2a826aa07b9aad42ee780a64ec7587467
parent34d8bc2c92a84ca30430c73700fcdfd0aa8ec115
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeWed, 18 Dec 2024 13:30:20 +0100