Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Export to wasm from a developed animating software using Qt5.12
alizadeh91 last edited by 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.
Muser last edited by
Does anyone have any idea how to implement this?
wrosecrans last edited by
@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.