qt6-bb10/tests/manual/wasm/eventloop
Lucie Gérard ff1039c217 Change license for tests files
According to QUIP-18 [1], all tests file should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I9657df5d660820e56c96d511ea49d321c54682e8
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
2024-02-04 09:56:42 +01:00
..
asyncify_exec Change license for tests files 2024-02-04 09:56:42 +01:00
dialog_exec Change license for tests files 2024-02-04 09:56:42 +01:00
eventloop_auto Change license for tests files 2024-02-04 09:56:42 +01:00
main_exec Change license for tests files 2024-02-04 09:56:42 +01:00
main_noexec Change license for tests files 2024-02-04 09:56:42 +01:00
thread_exec Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
README.md wasm: add event loop auto test 2022-08-08 18:14:28 +02:00

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
thread_exec     Shows how to use QThread::exec()
eventloop_auto  Event loop autotest (manually run)