summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2022-09-21 19:42:16 +1000
committerPaul Wicking <paul.wicking@qt.io>2022-11-29 08:58:03 +0000
commite5a44a670666fa611d51b149fe09e6d525b55dc1 (patch)
tree3bea47ff40b1f566a7f185e89077c88e72d79c20
parentc69baa28682a2d171385216043e0fa8efed50aa0 (diff)
downloadqtdoc-e5a44a670666fa611d51b149fe09e6d525b55dc1.tar.gz
wasm: add asyncify use cases
Pick-to: 6.4 Change-Id: Ic937f3f4f1d8c5266c4da89d9ec1cc89713c2268 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--doc/src/platforms/wasm.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/platforms/wasm.qdoc b/doc/src/platforms/wasm.qdoc
index e4be7d3f..1332d647 100644
--- a/doc/src/platforms/wasm.qdoc
+++ b/doc/src/platforms/wasm.qdoc
@@ -525,6 +525,13 @@ these restrictions by allowing synchronous calls (like QEventLoop::exec() and QD
to yield to the event loop. Nested calls are not supported, and for this reason asyncify is
not used for the top-level QApplication::exec() call.
+Features that require asyncify are:
+\list
+ \li QDialogs, QMessageBoxes with return values.
+ \li Drag and drop (specifically drag).
+ \li Nested/secondary event loops exec().
+\endlist
+
As of Qt 6.4, Asyncify support is enabled in the binary package, but needs to be enabled for
applications by adding -sASYNCIFY -Os to linker options: