873edc0f15
Add simple QtCore-based test case which spins a nested event loop. Change-Id: Ia3a4ef76d561d0554faffcac8d36ae5dda2c6c53 Reviewed-by: Lorn Potter <lorn.potter@gmail.com> |
||
---|---|---|
.. | ||
asyncify_exec | ||
dialog_exec | ||
main_exec | ||
main_noexec | ||
CMakeLists.txt | ||
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