Add support for the layer Auto Orient feature, for VectorImage


The QML generator already offers this functionality in its motion path
animation functionality. So adding support for it only involves piping
the value of the layer property into the transform animation
parameter to the generator.

This commit includes cleaning up the handling of the auto orient
property in the qtlottie parser. It was implemented partially as a
QLottieLayer property, and mainly as a property of QLottieBase. The
latter makes no sense, since it is only defined for layers. Fix by
moving ownership and handling fully to QLottieLayer.

Fixes: QTBUG-140806
Change-Id: Iba9cca49b8e4939d8405e8a972a8d696dc193207
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
commit29a0b8d8f086e6a8679c03e1d252ff73e1293a5c
parent1021e32533233a266732d056b06f578a5d2c35e2
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeFri, 13 Mar 2026 16:57:07 +0100