QQmlJSImportVisitor::resolveAliases(): don't requeue unrelated children


Don't requeue children of objects during the requeue processing. The
requeue contains all objects with unresolved aliases that needs another
round of resolving, and should already contain all children that also
happen to have an unresolved alias. Therefore, don't requeue children
during requeue.

Add a test where qmllint would emit the "Cannot resolve alias
\"badIdInChild\"" warning twice without this patch.

Task-number: QTBUG-141767
Change-Id: I4842b3347e4b8cc5e866dc99fa081c797bdeab45
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
commiteb0b266d31869918feca0ac87db9b8d2ace4ed34
parentd6f290009d7de84e3182a820046909ccc585e0d6
authorSami Shalayel <sami.shalayel@qt.io>
committerSami Shalayel <sami.shalayel@qt.io>
commit timeTue, 6 Oct 2026 04:14:33 +0000