Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Export to wasm from a developed animating software using Qt5.12
QtWS25 Last Chance

Export to wasm from a developed animating software using Qt5.12

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5.12wasmc++qt5
3 Posts 3 Posters 636 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.
  • A Offline
    A Offline
    alizadeh91
    wrote on last edited by alizadeh91
    #1

    I have developed an animating software (like adobe director) using Qt5.12. I want to export the animations to wasm.

    I know that it is possible to port qt applications to wasm and make applications work in web (Also I used this feature to make my app web-based). But, I want to export the animation to a wasm file from my desktop app.

    M W 2 Replies Last reply
    0
    • A alizadeh91

      I have developed an animating software (like adobe director) using Qt5.12. I want to export the animations to wasm.

      I know that it is possible to port qt applications to wasm and make applications work in web (Also I used this feature to make my app web-based). But, I want to export the animation to a wasm file from my desktop app.

      M Offline
      M Offline
      Muser
      wrote on last edited by
      #2

      Does anyone have any idea how to implement this?

      1 Reply Last reply
      0
      • A alizadeh91

        I have developed an animating software (like adobe director) using Qt5.12. I want to export the animations to wasm.

        I know that it is possible to port qt applications to wasm and make applications work in web (Also I used this feature to make my app web-based). But, I want to export the animation to a wasm file from my desktop app.

        W Offline
        W Offline
        wrosecrans
        wrote on last edited by
        #3

        @alizadeh91 Basically, your question is the same as "How do I make a standalone executable that is compiled to native code that plays my animation." You need to either write or use a compiler and toolchain that builds software for the target. In this case, your target is webassembly rather than something like Win64 or OS-X.

        It's unclear if that's really what you want to do, but there's no real support for emitting webassembly from Qt, any more than there is for emitting Windows .exe's. Qt depends on the system's native compiler and toolchain to make compiled executables. It isn't a compiler in itself.

        If you are able to export your animations to a (de facto) standard format like Lottie : https://airbnb.io/lottie/ you can find off the shelf player tools which may be useful to you.

        1 Reply Last reply
        1

        • Login

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