tests: Set the VectorImage animation time on the scene directly


For Lancelot tests, we currently set the animation frame on
the parser and then get the data at that frame.

First of all, this has exposed some bugs which are only visible
with this approach, not when we are actually running the
animations through VectorImage.

In addition, it does not actually test the animations we
generate, since we are resolving the animations through the
Qt Lottie parser.

To make the results actually reflect what VectorImage would
be rendering, we get all animations that are not part of
a group (so in practice all the top level parallel animations)
and then set the current time of these to match the time
of the frame we want.

Pick-to: 6.10
Change-Id: Id3759d95423f3ffe1991637056a9e69f46022b27
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit83c1743f2cd5c1d934ec765946235c1d95bd848a
parentc20ff0a37c942625144583555f91b7dfa5d1292b
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeMon, 30 Jun 2025 09:11:42 +0200