How to use qt webassembly in qml application?
-
I want to use qt webassembly in qml application. I use emsdk 1.38.30-64bit to compile qml application and it compile successfully but when I use emsdk 1.38.30-64bit with thread flag I could not compile my application. what is my mistake and how should I solve this problem?
-
The binary release is built without thread support (as it is still experimental), so if you want Qt WebAssrmbly with thread support, you will have to build it yourself.
-
Could you post any error messages?
-
@lorn-potter ![alt text](image url)
in my qt 5.14.2 (MinGW 7.3.0 32-bit) I get :
C:\emsdk30\emsdk\emscripten\1.38.30\emrun --browser=firefox test.html
Executing C:\Program Files\Mozilla Firefox/firefox.exe http://localhost:6931/test.html
The html page you are running is not emrun-capable. Stdout, stderr and exit(returncode) capture will not work. Recompile the application with the --emrun linker flag to enable this, or pass --no_emrun_detect to emrun to hide this check.
but when I use widget application it run successfully. -
@lorn-potter I have checked it in qt 5.15 with em 1.39.16. but still I have same problem.