protobufqml: give each test a unique QML module URI
All protobufqml autotests register their QML test module under the same
URI, "QmlTestUri". A module URI is global to the QML engine, so two
modules cannot share it on one import path.
Sharing the URI is harmless while each test runs from its own build
directory or separate package. OpenHarmony instead deploys all
autotests in a single bundle, and we plan to deploy their QML modules
into one shared import directory. Modules that share a URI would then
map to the same path and collide.
Give each test's QML module its own URI, ProtobufQmlTest.<Test>. The
basic and oneof tests import that module from their .qml files, so
those imports are renamed too. The other tests import a separate
generated module and need only the CMake change.
Task-number: QTBUG-147585
Pick-to: 6.12
Change-Id: Ic2b13c27dd8366526c5ddbf7b9f3ed42440eb547
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>