qt6windows7/tests/manual/wasm/eventloop
2023-10-29 23:33:08 +01:00
..
asyncify_exec qt 6.5.1 original 2023-10-29 23:33:08 +01:00
dialog_exec qt 6.5.1 original 2023-10-29 23:33:08 +01:00
eventloop_auto qt 6.5.1 original 2023-10-29 23:33:08 +01:00
main_exec qt 6.5.1 original 2023-10-29 23:33:08 +01:00
main_noexec qt 6.5.1 original 2023-10-29 23:33:08 +01:00
thread_exec qt 6.5.1 original 2023-10-29 23:33:08 +01:00
CMakeLists.txt qt 6.5.1 original 2023-10-29 23:33:08 +01:00
README.md qt 6.5.1 original 2023-10-29 23:33:08 +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()
eventloop_auto  Event loop autotest (manually run)