lottietoqml: Fix viewbox calculation


Attempting to measure the actual size of the animation does not
work, since it might change from frame to frame.

LottieAnimation uses a view box of (0, 0) to (w, h) where 'w' and
'h' are properties on the root object, so this is the defined viewbox
of the JSON file. Instead of trying to be clever, we just use this.

Pick-to: 6.10
Change-Id: I09674f157ec19c92a051ee3dec49600ef8edd0fa
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit2ee2034812b9be6906bacfb6a61d7e0649331a14
parent401602042c39b8ebdc6ca9b283db39ae881251f7
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeMon, 16 Jun 2025 17:32:53 +0200