How to set up Assimp for Qt6 MinGW 64-bit to run on WebAssembly #5515
Replies: 3 comments
-
|
I created the same topics on Qt Forum: https://forum.qt.io/topic/155591/how-to-set-up-assimp-for-qt6-mingw-64-bit and Stack Overflow: https://stackoverflow.com/questions/78230555/how-to-set-up-assimp-for-qt6-mingw-64-bit-to-run-on-webassembly |
Beta Was this translation helpful? Give feedback.
-
|
I built zlib with these commands:
I set up it like this: Now it compiles. But I think Assimp must include I have this error now: I had a problem with loading models from Qt Resources with Assimp: Loading a 3D model from Qt Resources. Assimp Error: No suitable reader found for the file format of file I decided do not use Qt Resources to solve that problem. But now I don't know how to solve it for WASM. |
Beta Was this translation helpful? Give feedback.
-
|
Botje wrote the next comment on Stack Overflow:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The next steps work for me (after I added
C:\emsdk\upstream\emscriptento the Path variable):These commands generated the
libassimp.alibrary:I try to set up this library in Qt Creator like this:
I had this error:
error: 'assimp/config.h' file not found. I solved this error by copying this fileE:\libs\assimp-5.2.5\build\include\assimp\config.hto this directory:E:\libs\assimp-5.2.5\include\assimp.Issues:
:-1: error: [Makefile:69: .\load-with-assimp-wasm-opengles2-qt6-cpp.js] Error 1But I have already built another examples with OpenGL ES 2.0 to WASM without the problem.Compiler output:
load-with-assimp-wasm-opengles2-qt6-cpp.pro
main.cpp
Beta Was this translation helpful? Give feedback.
All reactions