blob: e5d4b9230604b3adde42cc873cd0ada9c8eee528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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()
|