Morten Sørvig b80deb2628 wasm: add test for QWAsmSuspendResumeControl
Test via QWasmTimer and native timers.

Change-Id: Ie1ad8517de83e4ad50a7cdc7c391c34226261aef
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2025-03-03 18:24:43 +01:00
..
2024-02-04 09:56:42 +01:00
2022-08-08 18:14:28 +02:00

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)