From 6a3b994c5d2e95de54d4b28ea6c9df9e1f649c78 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Wed, 1 Feb 2023 09:47:00 +1000 Subject: wasm: document websocket thread support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emscripten currently only supports websocket connections on the main thread. Fixes: QTBUG-110668 Change-Id: Iac030b370af76dff6f92272a7a4b9c62a8ff0882 Reviewed-by: MikoĊ‚aj Boc (cherry picked from commit f30e7cc86182031f50910cb8127876a480793c25) Reviewed-by: Qt Cherry-pick Bot --- doc/src/platforms/wasm.qdoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/platforms/wasm.qdoc b/doc/src/platforms/wasm.qdoc index bffeb9045..d72e2355d 100644 --- a/doc/src/platforms/wasm.qdoc +++ b/doc/src/platforms/wasm.qdoc @@ -46,7 +46,7 @@ Check this with the following command: Each minor version of Qt targets a specific Emcsripten version, which remains unchanged in patch releases. Qt's binary packages are built using the target Emscripten version. -Applications should use the same version since Emscripten does not guarantee +Applications should use the same version since Emscripten does not guarantee \l{https://github.com/emscripten-core/emscripten/blob/main/ChangeLog.md}{ABI compatibility} between versions. @@ -637,6 +637,7 @@ is not providing that capability multiple of 64KB (65536). Default is 50 MB. In CMakeFiles.txt: set(QT_WASM_INITIAL_MEMORY, "50MB"); \li add_executable in CMakeLists.txt does not produce .html or copy qtloader.js. Use qt_add_executable instead. +\li QWebSocket connections are supported by Emscripten only on the main thread. \endlist -- cgit v1.2.3