Associate QT WebAssembly with emscripten
-
wrote on 25 Jun 2020, 09:00 last edited by
Hi everyone!
I need help with the association of QT WebAssembly with emscripten. I have followed all the intrucctions showed in:
https://doc.qt.io/qtcreator/creator-setup-webassembly.html and https://wiki.qt.io/Qt_for_WebAssembly and the instructions showed in emscripten web.I tryed with Qt 5.13 and Qt 5.14 but I can't even start because I am not able to associate WebAssembly with emscripten.
Does anyone know how to solve this problem?
Thanks in advance for any help!
-
Hi everyone!
I need help with the association of QT WebAssembly with emscripten. I have followed all the intrucctions showed in:
https://doc.qt.io/qtcreator/creator-setup-webassembly.html and https://wiki.qt.io/Qt_for_WebAssembly and the instructions showed in emscripten web.I tryed with Qt 5.13 and Qt 5.14 but I can't even start because I am not able to associate WebAssembly with emscripten.
Does anyone know how to solve this problem?
Thanks in advance for any help!
wrote on 25 Jun 2020, 09:57 last edited byI've intalled \emsdk>emsdk install sdk-fastcomp-1.38.30-64bit, after that I added manually the emscrition compiler and lookinf for manually \clang.exe and adding one for C (clang.exe) and other for C++ (Clang++.exe). Now the emscripten compliers is able to be selected.
But, now I have the next problem:
-
wrote on 25 Jun 2020, 12:11 last edited by
I realize when I choose the file \clang.exe manually, Emscripten (ABI) will compile code for "x86-windows-msvc2017..." an dno t for "asmjs-unknown-unknown-emscripten-32bit" as I need.
So, that step doen't works. = (
Whe QT try to detect emscripten automatically:
When I choose file \clang.exe manually:
Has anyone had this same problem?
-
wrote on 25 Jun 2020, 15:24 last edited by
I think that I do not have installed correctly emscripten compiler.
Some one know how to install it correctly for Qt 5.13.2?? -
wrote on 7 Jul 2020, 06:33 last edited by
QtCreator does not have full support for using emscripten, unless you use Qt 5.15. Even then it is still experimental and you need to enable the WebAssembly plugin from within QtCreator first.
It's just easier to build using the commandline.