qt5base-lts/tests/manual/wasm
Marc Mutz 11d6932560 Mark all of Qt as free of Q_FOREACH, except where it isn't
The density of Q_FOREACH uses in this and some other modules is still
extremely high, too high for anyone to tackle in a short amount of
time. Even if they're not concentrated in just a few TUs, we need to
make progress on a global QT_NO_FOREACH default, so grab the nettle
and stick to our strategy:

Mark the whole of Qt with QT_NO_FOREACH, to prevent new uses from
creeping in, and whitelist the affected TUs by #undef'ing
QT_NO_FOREACH locally, at the top of each file. For TUs that are part
of a larger executable, this requires these files to be compiled
separately, so add them to NO_PCH_SOURCES (which implies
NO_UNITY_BUILD_SOURCES, too).

In tst_qglobal.cpp and tst_qcollections.cpp change the comment on the
#undef QT_NO_FOREACH to indicate that these actually test the macro.

Task-number: QTBUG-115839
Change-Id: Iecc444eb7d43d7e4d037f6e155abe0e14a00a5d6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2023-08-19 05:19:42 +00:00
..
a11y Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
clipboard Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
cursors Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
eventloop Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
localfiles Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
qstdweb Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
qtloader Set up a manual test for qt loader 2022-11-24 18:47:49 +01:00
qtloader_integration wasm: clarify qtloader onExit behavior 2023-07-10 05:13:56 +02:00
qtwasmtestlib Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
rasterwindow Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
selenium/qwasmwindow Move the selenium qwasmwindow test to the selenium dir 2023-07-24 12:32:35 +02:00
shared Add test filter argument to wasm js test runner 2023-06-15 18:55:32 +02: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 qtwasmtestlib 2022-06-29 15:09:02 +02:00

Manual tests and examples for Qt on WebAssembly

These examples demonstrates various technical aspects of the Qt for WebAssambly platform port, and can be used as a reference when writing application code.

Content

cursors         Cursor handling
eventloop       Event loops, application startup, dialog exec()
localfiles      Local file download and upload
rasterwindow    Basic GUI app, event handling
qtwasmtestlib   native auto test framework