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

Simple QWebSocket app hangs in WebAssembly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.3.1
    • Network
    • None
    • WebAssembly

    Description

      I have a simple gui websocket app modelled on qtwebsockets/examples/websockets/echoclient

      When built for Windows with Qt 5.7.0 the app connects to the server, gets a response and displays it. When built for WebAssembly with Qt 6.3.1 the app hangs as soon as the socket is created with the browser reporting "This page is slowing down Firefox. To speed up your browser, stop this page."

      Emscripten is v3.0.0 and Qt 6.3.1 for WebAssembly was configured with:

      ./configure -qt-host-path /opt/Qt/6.3.1/gcc_64 -platform wasm-emscripten -prefix /opt/Qt/6.3.1-wasm/qtbase -device-option QT_EMSCRIPTEN_ASYNCIFY=1

      Source code for the project is attached.

      Attachments

        Issue Links

          Activity

            People

              lpotter Lorn Potter
              spj.oasis Stephen Jackson
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: