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

[Reg 6.0 -> 7.0] WebAssembly: Launching a qmake based project fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 7.0.0-beta1
    • None
    • WebAssembly, Windows
    • 09daa5ddfd (qt-creator/qt-creator/master) 09daa5ddfd (qt-creator/qt-creator/qmlprojectstorage)

      In order to run a WebAssembly application, the runconfiguration calls emscripten's emrun tool with <targetname>.html as parameter.

      The target name is taken from the buildKey. That works well with cmake-based projects, since the buildKey appears to match the current target name. With qmake, the buildKey corresponds to the absolute path of the project file.

      So, these are the two different html file names that are generated for the two build systems:

      CMake
      C:/Users/alportal/dev/qtcreator-bug-snippets/QTCREATORBUG-25030/build-qtwidgets-Qt_6_2_2_WebAssembly-Debug/qtwidgets-cmake.html
      
      qmake
      C:/Users/alportal/dev/qtcreator-bug-snippets/QTCREATORBUG-25030/build-qtwidgets-qmake-Qt_6_2_2_WebAssembly-Debug/C:/Users/alportal/dev/qtcreator-bug-snippets/QTCREATORBUG-25030/qtwidgets/qtwidgets-qmake.pro.html
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes