Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Qt Lottie on WebAssembly
Forum Update on Monday, May 27th 2025

Qt Lottie on WebAssembly

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 471 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MeSakone
    wrote on 12 Jul 2020, 18:48 last edited by
    #1

    Hello
    When i try to compile my project to web assembly i got this error :

    wasm-ld: error: duplicate symbol: lcLottieQtBodymovinParser()
    >>> defined in /Users/sakone/Qt/5.15.0/wasm_32/qml/Qt/labs/lottieqt/liblottieqtplugin.a(lottieanimation.o)
    >>> defined in /Users/sakone/Qt/5.15.0/wasm_32/lib/libQt5Bodymovin.a(bmbase.o)
    
    wasm-ld: error: duplicate symbol: lcLottieQtBodymovinRender()
    >>> defined in /Users/sakone/Qt/5.15.0/wasm_32/qml/Qt/labs/lottieqt/liblottieqtplugin.a(lottieanimation.o)
    >>> defined in /Users/sakone/Qt/5.15.0/wasm_32/lib/libQt5Bodymovin.a(bmbase.o)
    shared:ERROR:
    
    1 Reply Last reply
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 23 Jul 2020, 01:11 last edited by
      #2

      I am not even sure how supported QtLottie is on the desktop, but not yet supported for Qt WebAssermbly.

      I do know that the Qt WebAssembly platform has a few issues like this regarding QLogging and Q_DECLARE_LOGGING_CATEGORY that do not happen on desktop, as we are built statically linked.

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved