This is the MozillaVPN QML Lottie animation item. It is built on top of lottie-web and a QML Canvas element.
If you want to test this component, you can run the lottietest
app passing a
lottie JSON file as the first argument:
# ./bin/lottietest tests/qml/a.json
See the LottieAnimation.qml file for a good description of properties and methods. Currently, we support the minimum set of features required for the Mozilla VPN project.
This component is released with 2 types of tests:
- unit-tests:
./tests/unit/tests
- qml-tests:
./tests/qml/tst_lottie
This should be considered as a temporary solution. We hope to use QtLottie in Qt6 when ready, or replace this component with a wrapper built on top of rlottie.