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
commitefc7d178b941a87d36c31fbf9cd5288f3a8584a1 (patch)
tree9d27bc46de6f539c9eb7cfa3009f61a33bdd5d12
parent83aa6cabc50cbca7b451fa9fb2b6a93d0bac27d1 (diff)
downloadqtdoc-efc7d178b941a87d36c31fbf9cd5288f3a8584a1.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 d72b3fc4..ae01f7a9 100644
--- a/doc/src/platforms/wasm.qdoc
+++ b/doc/src/platforms/wasm.qdoc
@@ -188,6 +188,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}