qt5base-lts/tests/manual/wasm
Morten Sørvig 64007c7497 wasm: add "preload" qtloader config property
Add support for downloading files from the web server
to the in-memory file system at application load time.

See included documentation for usage.

This preload functionality is different from Emscripten's
--preload-file and --embed-file in that the files are
not packed to a single data file or embedded in the
JavaScript runtime. Instead, the files are downloaded
individually from the web server, which means that they
can be cached individually, and also updated individually
without rebuilding the application.

Any file type can be preloaded. The primary use case
(at the moment) is preloading Qt plugins and QML imports.

Pick-to: 6.6
Task-number: QTBUG-63925
Change-Id: I2b71b0d6a2c12ecd3ec58e319c679cd3f6b16631
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2023-07-04 13:42:01 +00:00
..
a11y Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
clipboard tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01: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: add "preload" qtloader config property 2023-07-04 13:42:01 +00:00
qtwasmtestlib Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
qwasmwindow Add keyboard input testcase to the QWasmWindow test 2023-06-20 07:34:09 +02:00
rasterwindow Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +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