QtLottie to use declarative type registration


This should be done in its own right, and in addition the
stale plugins.qmltypes export (original from Qt 5.13 when
QtLottie was introduced) causes qmllint errors => let it be
generated.

Pick-to: 6.4
Fixes: QTBUG-107501
Fixes: QTBUG-100780
Change-Id: I75535323fea9e8595d3cfeb04c5e74fe66a2d936
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
commita4c3167b57785a069e1a4caf55563ef90c0e74ab
parente222f6c3efda0fa336e911a3f88e8618d54be277
authorJuha Vuolle <juha.vuolle@insta.fi>
committerJuha Vuolle <juha.vuolle@insta.fi>
commit timeWed, 19 Oct 2022 10:08:30 +0300