qt5base-lts/tests/manual/wasm/eventloop
Lucie Gérard 05fc3aef53 Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Files that have to be modified by hand are modified.
License files are organized under LICENSES directory.

Task-number: QTBUG-67283
Change-Id: Id880c92784c40f3bbde861c0d93f58151c18b9f1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-05-16 16:37:38 +02:00
..
asyncify_exec Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dialog_exec Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
main_exec Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
main_noexec Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
thread_exec Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt wasm: add secondary thread exec manual test 2022-01-05 21:25:42 +01: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()