lottietoqml: Combine path segments also when animated


In Lottie, consecutive shape elements are intended to be part of the
same painting path, so that the second shape can punch a hole in the
first, for example. For the QML generation, this was implemented
earlier for static shape elements. This commit implements it also for
animated shapes.

The implementation merges the key frame numbers of all animations into
a combined list. It then creates the joined path at each of those time
points, and registers the result as a single, animated path.

Pick-to: 6.12
Fixes: QTBUG-143151
Change-Id: I5707860c8748bd33df9c521ef3377a61a0892670
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit6b389ba998c1aa59a7f5f6bdd359f8335557d834
parent133fb9ed32d0224930ba621cff6546c776a51e2b
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeThu, 18 Jun 2026 08:41:25 +0000