<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <!-- qtlottie.qdoc --> <meta name="description" content="Display graphics and animations exported by the Bodymovin plugin for Adobe After Effects."> <title>Qt Lottie Animation 6.6.1</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <ul> <li><a href="../qtdoc/index.html" translate="no">Qt 6.6</a></li> <li>Qt Lottie Animation</li> <li id="buildversion">Qt Lottie Animation | Commercial or GPLv3</li> </ul> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3 id="toc">Contents</h3> <ul> <li class="level1"><a href="#getting-started">Getting Started</a></li> <li class="level1"><a href="#limitations">Limitations</a></li> <li class="level2"><a href="#general-limitations">General limitations</a></li> <li class="level2"><a href="#animation-level-limitations">Animation level limitations</a></li> <li class="level2"><a href="#layers">Layers</a></li> <li class="level2"><a href="#shapes">Shapes</a></li> <li class="level2"><a href="#effects">Effects</a></li> <li class="level1"><a href="#licenses">Licenses</a></li> <li class="level1"><a href="#reference">Reference</a></li> <li class="level1"><a href="#related-information">Related Information</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt Lottie Animation</h1> <!-- $$$qtlottieanimation-index.html-description --> <div class="descr" id="details"> <p><i>Qt Lottie Animation</i> provides a QML API for rendering graphics and animations that are exported in JSON format by the <a href="https://aescripts.com/bodymovin/" translate="no">Bodymovin</a> plugin for Adobe After Effects.</p> <h2 id="getting-started">Getting Started</h2> <p>Import the types using the the following statement:</p> <pre class="qml" translate="no"> import Qt.labs.lottieqt </pre> <p>See the <a href="https://github.com/airbnb/lottie-web" translate="no">GitHub page for Bodymovin</a> for instructions on how to download and install the plugin for Adobe After Effects.</p> <h2 id="limitations">Limitations</h2> <p>The implementation follows the <a href="https://github.com/airbnb/lottie-web/tree/master/docs/json" translate="no">master specification for bodymovin</a>. Deviations in exported Bodymovin files compared to the specification are taken into account as much as possible when differences are noticed.</p> <h3 id="general-limitations">General limitations</h3> <ul> <li><code translate="no">precomps</code> are not supported</li> <li>expressions are not supported</li> <li>the timeline only supports frame-mode, not time-mode</li> </ul> <h3 id="animation-level-limitations">Animation level limitations</h3> <p>The following properties are not supported:</p> <ul> <li><code translate="no">assets</code> - reusable text and images</li> <li><code translate="no">chars</code> text</li> </ul> <h3 id="layers">Layers</h3> <p>Only the <code translate="no">shape</code> layer and the <code translate="no">alpha mask adjustment</code> layer are supported.</p> <p>The following properties are not supported:</p> <ul> <li><code translate="no">ao</code> (auto-orientation)</li> <li><code translate="no">bm</code> (blend mode)</li> <li><code translate="no">maskProperties</code> (masks)</li> <li><code translate="no">sr</code> (time stretch)</li> </ul> <h3 id="shapes">Shapes</h3> <p>The following elements and shapes are not supported:</p> <ul> <li>the <code translate="no">gstroke</code> (group stroke) element</li> <li>the <code translate="no">star</code> element</li> <li>Nested Repeater shapes</li> </ul> <p>Also note that the behavior when using multiple active trim paths (e.g. trim paths in nested groups) is unpredictable.</p> <h3 id="effects">Effects</h3> <p>The only supported effects are <code translate="no">Slide</code> and <code translate="no">Layer Fill</code>.</p> <h2 id="licenses">Licenses</h2> <p>Qt Lottie Animation is available under commercial licenses from <a href="http://www.qt.io/about-us/" translate="no">The Qt Company</a>. In addition, it is available under the <a href="http://www.gnu.org/licenses/gpl-3.0.html" translate="no">GNU General Public License, version 3</a>. See <a href="../qtdoc/licensing.html" translate="no">Qt Licensing</a> for further details.</p> <h2 id="reference">Reference</h2> <ul> <li><a href="qt-labs-lottieqt-qmlmodule.html" translate="no">QML Types</a></li> </ul> <h2 id="related-information">Related Information</h2> <ul> <li><a href="https://github.com/airbnb/lottie-web" translate="no">Bodymovin on GitHub</a></li> </ul> </div> <!-- @@@qtlottieanimation-index.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are <a href="https://doc.qt.io/qt/trademarks.html"> trademarks</a> of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>