How to use qt webassembly in qml application?
-
wrote on 8 Jun 2020, 11:43 last edited by
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?
-
wrote on 10 Jun 2020, 14:51 last edited by
What version of Qt are you using, how do you compile your application and what error do you get?
-
wrote on 11 Jun 2020, 07:28 last edited by
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.
-
What version of Qt are you using, how do you compile your application and what error do you get?
-
wrote on 14 Jun 2020, 05:31 last edited by
Could you post any error messages?
-
Could you post any error messages?
wrote on 14 Jun 2020, 05:53 last edited by Niushaa@lorn-potter 
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. -
Could you post any error messages?
wrote on 23 Jun 2020, 06:35 last edited by@lorn-potter I have checked it in qt 5.15 with em 1.39.16. but still I have same problem.