qt6-bb10/tests/manual/wasm/eventloop
Morten Sørvig 4d6decf628 wasm: always build asyncify tests for eventloop_auto
Add a runtime test for asyncify availability; skip tests
if asyncify is not available. Add new build target which
builds with asyncify enabled.

Change-Id: Idaeff0a24aa01525927b012af2a0ba135c7839c3
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-08-17 04:52:46 +02:00
..
asyncify_exec wasm: include asyncify support unconditionally 2022-08-17 04:52:46 +02:00
dialog_exec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
eventloop_auto wasm: always build asyncify tests for eventloop_auto 2022-08-17 04:52:46 +02:00
main_exec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
main_noexec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
thread_exec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
CMakeLists.txt wasm: add event loop auto test 2022-08-08 18:14:28 +02:00
README.md wasm: add event loop auto test 2022-08-08 18:14:28 +02:00

README.md

Event loop exec() and main() on Qt for WebAssembly

These examples demonstrate how QEventLoop::exec() works on Qt for WebAssembly, and also shows how to implement main() without calling QApplication::exec().

Contents

main_exec       Standard Qt main(), where QApplication::exec() does not return
main_noexec     Qt main() without QApplication::exec()
dialog_exec     Shows how QDialog::exec() also does not return
thread_exec     Shows how to use QThread::exec()
eventloop_auto  Event loop autotest (manually run)