Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26562

WebAssembly: CMake-based Qt 6.2 QtQuick application cannot be run

    XMLWordPrintable

    Details

    • Platform/s:
      WebAssembly
    • Commits:
      dd1882b8177a8059a159f52d22ea73c66f31427c (qt-creator/qt-creator/6.0)

      Description

      In order to work around QTCREATORBUG-26375, https://codereview.qt-project.org/c/qt-creator/qt-creator/+/378636 introduced separate naming for the project and the main target/executable in the QtQuick application wizard.

      That broke the running of WebAssembly applications, because the WASM plugin assumes that target and project have the same name and calls emrun with <projectname>.html

      That unfortunately fails, because it should instead be <targetname>.html

        Attachments

        1. DifferentNames.png
          DifferentNames.png
          122 kB
        2. InvalidEmrunParameter.png
          InvalidEmrunParameter.png
          138 kB
        3. QTCREATORBUG-26562.zip
          0.6 kB
        4. WrongHtmlFile.png
          WrongHtmlFile.png
          67 kB

          Issue Links

          For Gerrit Dashboard: QTCREATORBUG-26562
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              portale Alessandro Portale
              Reporter:
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes