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

Webassembly Kit fails to auto-detect properly, blocks manual entry

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      b057ea1ab81cbb74b05e763afa61974920886810 (qt-creator/qt-creator/master)
    • Epic Link:

      Description

      Related to QTCREATORBUG-23126

      The Webassembly kit fails to autodetect a 'standard' emscripten install.  It also disables the "Choose" button and doesn't allow editing the compiler path, making the compiler (and thus kit) unusable.

      Activating the emsdk (./emsdk activate) on a toolchain creates the .emscripten file in the emsdk install directory, but auto-detect checks the ~/. location.  To work around this, after activation the .emscripten file can be copied to ~/. where it will be found by auto-detect.

      Unfortunately the file is parsed incorrectly.  While the individual defines are recognized, the emsdk_path string substitution doesn't occur, so the compiler location is prepended with "+ emsdk_path + "  instead of the actual location.

      Manually editing each of the defines in ~/.emscripten with the emsdk path (LLVM_ROOT = '/Users/tec/emsdk/fastcomp-clang/e1.38.27_64bit/binaryen', etc)  will result in the compiler detecting properly, and in turn it can now be selected as the compiler to get the kit working.

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              portale Alessandro Portale
              Reporter:
              tec Terence Conklin
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes