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

WebAssembly app doesn't start in the browser with the --proxy-to-worker compilation flag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 5.15.0
    • Build tools: qmake
    • None
    • Qt for WebAssembly 5.15 with both emscripten 1.39.8, firefox 80, chrome 83;
      Qt for WebAssembly 5.14
    • Linux/Other display system, WebAssembly

    Description

      It looks like Qt is creating non-working HTML and JS code to run the wasm-program "Hello World!" with the "--proxy-to-worker" flag. Because the same application without qt and with this flag works fine. I tried running in different browsers on different OS, but the result is the same.

       

      Еrror in the browser:

      "TypeError: Cannot read property 'addEventListener' of undefined"

      The exception is always on the same line.

      Attachments

        Activity

          People

            lpotter Lorn Potter
            dykson Andrea Devil
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: