qt5base-lts/tests/manual/wasm/eventloop
Lucie Gérard fb1b20eab3 Add license headers to cmake files
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.

Existing copyright statements remain intact

Task-number: QTBUG-88621
Change-Id: I3b98cdc55ead806ec81ce09af9271f9b95af97fa
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-08-03 17:14:55 +02:00
..
asyncify_exec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
dialog_exec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
main_exec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
main_noexec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
thread_exec Add license headers to cmake files 2022-08-03 17:14:55 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02: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()