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

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: Some future release
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Qt for WebAssembly 5.15 with both emscripten 1.39.8, firefox 80, chrome 83;
      Qt for WebAssembly 5.14
    • Platform/s:
      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

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

          Activity

            People

            Assignee:
            lpotter Lorn Potter
            Reporter:
            dykson Andrea Devil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes