qt5base-lts/tests/manual/wasm/eventloop
Morten Johan Sørvig 873edc0f15 wasm: add asyncify manual test
Add simple QtCore-based test case which spins
a nested event loop.

Change-Id: Ia3a4ef76d561d0554faffcac8d36ae5dda2c6c53
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
2021-11-04 09:23:15 +02:00
..
asyncify_exec wasm: add asyncify manual test 2021-11-04 09:23:15 +02:00
dialog_exec wasm: add manual tests for main() and exec() 2021-08-27 15:45:24 +02:00
main_exec wasm: add manual tests for main() and exec() 2021-08-27 15:45:24 +02:00
main_noexec wasm: add manual tests for main() and exec() 2021-08-27 15:45:24 +02:00
CMakeLists.txt wasm: add asyncify manual test 2021-11-04 09:23:15 +02:00
README.md wasm: add manual tests for main() and exec() 2021-08-27 15:45:24 +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