Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.2
-
-
a594e95c9 (dev), 665c99b6c (6.5)
Description
I have a Qt app that I build for WebAssembly.
The Website that is embedding this WebAssembly module is sending messages to the loaded WebAssembly module via Javascript.
Previously I used Qt 6.2.2 to build this app.
I recently update to Qt 6.3.2 to build it.
Using Qt 6.2.2 version, I could get notified when the loaded WebAssembly module has became ready to receive messages from Javascript.
I was doing this :
function init() { var spinner = document.querySelector('#qtspinner'); ... var qtLoader = QtLoader({ ... }); qtLoader.loadEmscriptenModule("myModule"); Module.postRun = function() { console.log("Ready to send messages...") } }
Using this new Qt 6.3.2 version I couldn't find the same.
The generated qtloader.js is different and it doesn't offer a way to get notified when the app is ready to receive messages from the Javascript side.
`Module.postRun` is not available any more. The public API have this removed.
Would it be possible to re-add the ability to be notified when the app (loaded WebAssembly module) is ready to receive messages from the Javascript side?
Attachments
Issue Links
- duplicates
-
QTBUG-104896 WASM: unable to set moduleConfig
-
- Closed
-