diff options
author | David Skoland <david.skoland@qt.io> | 2022-10-20 18:09:39 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-10-25 11:46:51 +0000 |
commit | 378bbddbd5ecc8a53437482e9aba593677070fdf (patch) | |
tree | e0bcccff0992c4822008feb7837a3910e1368c63 | |
parent | b48901199a6c211a283378d5efd74690e112bd77 (diff) | |
download | qtdoc-378bbddbd5ecc8a53437482e9aba593677070fdf.tar.gz |
wasm: Mention that python webserver cannot load threaded apps
Emrun and qtwasmserver can use threading because they send the
required headers. However, a simple Python http server doesn't,
so mention this in the docs.
Change-Id: Ic66064c07112f29e029e4f104113816523ef4421
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit 0c1af4c54fe64d6e84a605842992a590dabf197b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/src/platforms/wasm.qdoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/platforms/wasm.qdoc b/doc/src/platforms/wasm.qdoc index c23b5106..22d9a3d9 100644 --- a/doc/src/platforms/wasm.qdoc +++ b/doc/src/platforms/wasm.qdoc @@ -167,6 +167,9 @@ browser separately. One of the simplest options is http.server from Python: python -m http.server \endcode +Note that this is only a simple webserver and does not support SharedArrayBuffer required for +threading, as the required COOP and COED headers mentioned below are not sent. + \section3 qtwasmserver Qt provides a developer web server which uses \l{https://github.com/FiloSottile/mkcert}{mkcert} |