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

Wasm examples not launching on browser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 6.3.0 RC
    • 6.3.0 Beta2
    • Build System
    • WebAssembly

    Description

      Qt6.3.0 Webassembly binaries, logs taken from Windows but reproduces on linux and macOS also.

      Compile example demos/coffee

      /home/qt/RTA/Qt_6.3.0/6.3.0/wasm_32/bin/qt-cmake
       -S /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/demos/coffee -B 
      /home/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/demos/coffee/bld_wasm_32
      

      Launch python http server and run example in Chrome, browser shows big Qt logo, with text:

      Qt for WebAssembly: coffee
      Compiling...

      And does not load the application. Browser developer tools - console has error:

      qtloader.js:263 GET http://localhost:6931/Examples/Qt-6.3.0/demos/coffee/bld_wasm_32/coffee.js 404 (File not found)

      Same with

      quick3d/custominstancing

      quick3d/morphing

      quick3d/particles3d

      quickcontrols2/gallery

      quickcontrols2\texteditor

      virtualkeyboard/basic

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              joaijala Johanna Äijälä
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes