QtQml: Don't specify version when qmldir-importing QML


If a specific version is specified, the import code is allowed to search
version-decorated directories, which is expensive. We can't make it
"auto" since that would require the builtins to be available in all
versions that QtQml used to be available in at some point, plus its own
1.0.

Pick-to: 6.12 6.8
Task-number: QTBUG-147814
Change-Id: I1ae21efbc9041e406f3fc17eda34fc711e3d07ee
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
commit701188fe41eb9dec9da7482d37bec7ebf5dd85c4
parent31760a85891f840b777ff44649952e1fb0382109
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeTue, 20 Oct 2026 13:18:18 +0000