Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132404

Cannot build LottieAnimation with qmlsc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.7.3, 6.8.1, 6.9
    • Lottie, QML: Compiler
    • None

    Description

      Consider the following code

      import QtQuick
      import Qt.labs.lottieqt
      
      Item {
          LottieAnimation {
              quality: LottieAnimation.MediumQuality
          }
      } 

      When trying to build it with qmlsc the geneated code fails to build with

      fatal error: lottieanimation.h: No such file or directory
      
         17 | #include <lottieanimation.h>
      
            |          ^~~~~~~~~~~~~~~~~~~
      

      The Qt installation from the online installer doesn't seem to include a lottieanimation.h file at all, and manually building qtlottie doesn't install one either

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            reworled Rebecca Worledge
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes