Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Qt Lottie Animation

Qt Lottie Animation provides a QML API for rendering graphics and animations that are exported in JSON format by the Bodymovin plugin for Adobe After Effects.

Getting Started

Import the types using the the following statement:

import Qt.labs.lottieqt

See the GitHub page for Bodymovin for instructions on how to download and install the plugin for Adobe After Effects.

Limitations

The implementation follows the master specification for bodymovin. Deviations in exported Bodymovin files compared to the specification are taken into account as much as possible when differences are noticed.

General limitations

  • precomps are not supported
  • expressions are not supported
  • the timeline only supports frame-mode, not time-mode

Animation level limitations

The following properties are not supported:

  • assets - reusable text and images
  • chars text

Layers

Only the shape layer and the alpha mask adjustment layer are supported.

The following properties are not supported:

  • ao (auto-orientation)
  • bm (blend mode)
  • maskProperties (masks)
  • sr (time stretch)

Shapes

The following elements and shapes are not supported:

  • the gstroke (group stroke) element
  • the star element
  • Nested Repeater shapes

Also note that the behavior when using multiple active trim paths (e.g. trim paths in nested groups) is unpredictable.

Effects

The only supported effects are Slide and Layer Fill.

Licenses

Qt Lottie Animation is available under commercial licenses from The Qt Company. In addition, it is available under the GNU General Public License, version 3. See Qt Licensing for further details.

Reference

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded