Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.14.2
-
None
-
Description
I've tried to serve a Qt Webassembly project through python3 -m http.server ./bin
under ./bin reside the output files from wasm build.
Locally it works, but when I try to access the ./bin/project.html page from an android mobile device with Chrome I get:
Failed To execute 'arrayBuffer' on Response: body stream is locked
So I enabled webassembly threads in chrome://flags, now I get this
Qt for WebAssembly: RangeError: WebAssembly.Memory():
in my example as well as the online Mandelbrot example.
My project is very simple: a std:thread in the background that increases a counter and displays a number on a QLabel. You can find the source attached
Expected:
- Documentation should mention the need to enabled webassembly threads through chrome://flags
- the example should work in mobile devices