summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2022-10-20 18:09:39 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-10-25 11:46:51 +0000
commit378bbddbd5ecc8a53437482e9aba593677070fdf (patch)
treee0bcccff0992c4822008feb7837a3910e1368c63
parentb48901199a6c211a283378d5efd74690e112bd77 (diff)
downloadqtdoc-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.qdoc3
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}