How to set up the Qt for WebAssembly compiler ?
-
How to set up the Qt for WebAssembly compiler ?
I'm sorry, I'm using Google Translate.I installed configured emscripten according to this instruction https://doc.qt.io/qt-5/wasm.html
What's next? In the configurations, I don't have the Emscripten compiler. Tried setting it up myself, added a compiler,
Specified the path to the C compiler - /home/anton/emsdk/node/12.18.1_64bit/bin/node
For C++ - /home/anton/emsdk/upstream/emscripten/em++I created an empty project with an empty window (I did not edit the code), tried to compile and got various errors.
I suspect that the path to the compiler is incorrect, where are the WebAssembly compiler files located? -
For C compiler should use /home/anton/emsdk/upstream/emscripten/emcc
For both C and C++ ABI should use asmjs - unknown - unknown - emscripten - 32bit -
@Anton1978 I wonder if your question actually: 'how to set up WASM compiler in Qt Creator' ?
I simply couldn't get this to work (5.15.2). A co-worker had the same trouble independently, so I don't think it was just me. I gave up and worked with only qmake, make. This worked.