Morten Sørvig 00ef435571 wasm: Don't hardcode ASYNCIFY 1
Build for the "default" config only, which can be
asyncyfy 0,1, or 2 depending on Qt build configuration.

Change-Id: I29d9a11b30325491151fc4e621272e5390681fa7
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@qt.io>
2024-12-02 19:45:18 +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)