summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2022-09-21 19:42:16 +1000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-11-29 09:23:00 +0000
commitb1f1fc42c1b93d2ebbb14f1524845beae4e8c572 (patch)
tree45fcb0938ed577d3ee696aa6f32126060decfee3
parentf411976e368dfe5eb46d93bf56d9558a93a5c27b (diff)
downloadqtdoc-b1f1fc42c1b93d2ebbb14f1524845beae4e8c572.tar.gz
wasm: add asyncify use cases
Change-Id: Ic937f3f4f1d8c5266c4da89d9ec1cc89713c2268 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit e5a44a670666fa611d51b149fe09e6d525b55dc1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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 2adb2d17..cf886c68 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: