qt5base-lts/tests/manual/wasm/eventloop
Morten Johan Sørvig 9b096e8cb8 wasm: add secondary thread exec manual test
Pick-to: 6.3
Change-Id: Id16cddd703682d325d77ad597996960a8f521d1c
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
2022-01-05 21:25:42 +01:00
..
asyncify_exec wasm: add asyncify manual test 2021-11-04 09:23:15 +02:00
dialog_exec
main_exec
main_noexec
thread_exec wasm: add secondary thread exec manual test 2022-01-05 21:25:42 +01:00
CMakeLists.txt wasm: add secondary thread exec manual test 2022-01-05 21:25:42 +01:00
README.md wasm: add secondary thread exec manual test 2022-01-05 21:25:42 +01: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()