qt5base-lts/util/wasm
Morten Sørvig be7b748b7e wasm: add shared library preload scripts
Add scripts which generates Qt plugins and QML imports
preload lists, for use with the "preload" functionality
form qtloader.js.

The preload lists downlad plugins and imports from $QTDIR/
to /qt/ at application load time, where $QTDIR is configurable
using the qt.qtdir qtloader configuration property (set
to "qt" by default).

Sample directory structure:
  app.html
  app.js
  qtloader.js
  qt_plugins.json     [generated]
  qt_qml_imports.json [generated]
  qt -> /path/to/qt   [symlink]

The json files are generated by the scripts in this commit.
app.html configures qtloader.js to use the json files
as preload lists, which instructs it to preload from
"qt", which again is a symlink to or a copy of the Qt
installation.

Pick-to: 6.6
Task-number: QTBUG-63925
Change-Id: I53bd197f22057dbb70e9a9bee43b9d9b969aa072
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2023-07-03 19:02:48 +02:00
..
batchedtestrunner Make WASM export names different across modules 2023-06-20 09:08:03 +02:00
preload wasm: add shared library preload scripts 2023-07-03 19:02:48 +02:00
qtwasmserver Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
wasmtestrunner Implement new features in qt-wasmtestrunner 2022-08-31 12:47:40 +02:00