tst_qmllint: fix tests


Fix invalid QML code for supposedly clean QML code. Those would error
out hard if run via the qml utility due to warnings emitted by
IRBuilder.

Task-number: QTBUG-142091
Change-Id: I005b8f7836d2ca4a321661fd27aa6f40ac2a25d2
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
commit8fd0bbdceea98ac0d14bac463ae20d2616f39134
parenteb0b266d31869918feca0ac87db9b8d2ace4ed34
authorSami Shalayel <sami.shalayel@qt.io>
committerSami Shalayel <sami.shalayel@qt.io>
commit timeTue, 6 Oct 2026 04:14:44 +0000