Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104896

WASM: unable to set moduleConfig

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.3.1, 6.4.0 Beta1
    • QPA
    • WebAssembly

      When building for the webassembly target, you may want to configure the emscripten module (https://emscripten.org/docs/api_reference/module.html) by setting cli arguments, or override the default behaviour of print/printErr.

      The QtLoader class encapsulates moduleConfig in a way that doesn't allow me to provide these without patching.

      Additionally I'm missing a signal that tells me that the module is ready to be used on the JS side. In earlier versions there was a global Module object which was already initialized and usable when showCanvas was triggered. That isn't the case now, and there's no alternative way.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            cajus Cajus Pollmeier
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes