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

Examples not running on browser on Windows: missing .js file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.4
    • 6.3.0 Beta2
    • Build System
    • Windows10 x64
      Chrome
    • WebAssembly, Windows

    Description

      Qt6.3.0 WebAssembly installed on Windows10 x64, compile example demos/calqlatr

      C:\Users\QT\RTA\Qt_6.3.0\6.3.0\wasm_32\bin\qt-cmake
       -S C:\Users\QT\RTA\Qt_6.3.0\Examples\Qt-6.3.0\demos\calqlatr -B 
      C:\Users\QT\RTA\Qt_6.3.0\Examples\Qt-6.3.0\demos\calqlatr\bld_wasm_32 
      -GNinja
      

      Start python http server and run example. Using Chrome, browser shows big Qt logo, with text:

      Qt for WebAssembly: calqlatrexample
      Compiling...

      and stays there. Browsers developer tools - console has error text:

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

      And when looking in to bld_wasm_32-dir, there is no such file, searched all sub dirs also.

      Example launches correctly on browser on Ubuntu and macOS11, both Chrome and Firefox.

      Same with:

      demos/coffee

      quick3d/lights

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              joaijala Johanna Äijälä
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes