qtbase/tests/manual/wasm/eventloop
Morten Sørvig 57c4e64030 Compile after API change
The API changed from using int to std::chrono::milliseconds,
update test.

Pick-to: 6.10
Change-Id: I4bd4079e5b262859bae293909008cacc824248ac
Reviewed-by: Lorn Potter <lorn.potter@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2025-07-16 15:54:22 +02: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 wasm: Don't hardcode ASYNCIFY 1 2024-12-02 19:45:18 +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
suspendresumecontrol_auto Compile after API change 2025-07-16 15:54:22 +02:00
thread_exec Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt wasm: add test for QWAsmSuspendResumeControl 2025-03-03 18:24:43 +01: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)