diff options
| author | Morten Sørvig <morten.sorvig@qt.io> | 2022-10-10 12:58:14 +0200 |
|---|---|---|
| committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2022-10-25 14:39:24 +0000 |
| commit | 4711f078b77011f389a3a5af368e76c72799bb9b (patch) | |
| tree | f43cc05c3d955655e6b7b9b647c780e5fbce0c62 /src/corelib/io/qfilesystemengine.cpp | |
| parent | 683936d3cb0f3bbbedfe0364e205dfe86aa7c727 (diff) | |
wasm: disable run-time check for specialHTMLTargets
Recent versions of Emscripten may abort if module_property()
is used to look up specialHTMLTargets, which makes run-time
checking impossible. The abort is implemented on the JS property
getter on the Module object, which means that it's not possible
to bypass this by using e.g. EM_ASM instead of the C++ API.
Disable usage of specialHTMLTargets on emsdk > 3.1.14 for now,
until we can add API (or find some other means) for opting in.
This commit also adds functions for comparing Emscripten
versions.
Pick-to: 6.4
Change-Id: Ibe5d1a82f267fa95dd62cdfc66595bc23036933f
Reviewed-by: Aleksandr Reviakin <aleksandr.reviakin@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/corelib/io/qfilesystemengine.cpp')
0 files changed, 0 insertions, 0 deletions
