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

Activating higher version of Emscripten wouldn't update compiler list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 13.0.0
    • None
    • Windows

    Description

      Based on Teams conversation

      Steps to repro

      1. Following these instructions clone Emscripten repo to a folder
      2. In the command-line, install and activate an older version of Emscripten, 3.1.x ( emsdk install 3.1.x && emsdk activate 3.1.x)
      3. Start Creator, go to Edit > Preferences > Devices > Webassembly
      4. Enter path to Emscripten folder (s. step 2), apply
      5. Go to Edit > Preferences > Kits > Compilers, find active Emscripten 3.1.x in the list (all good)
      6. Go back to command-line, in the same folder as in step 2 install and activate a newer version of Emscripten, 3.1.y
      7. Go back to Edit > Preferences > Devices > Webassembly, the tabpage correctly shows active Emscripten version 3.1.y (still good)
      8. Go back to Edit > Preferences > Kits > Compilers, check which Emscripten does the list of configured compilers show (bad)

      Expected

      Creator shows Emscripten 3.1.y (activated in step 6) in the list of available compilers

      Actual

      It shows Emscripten 3.1.x (from step 2, but not active atm)

      Workaround

      1. After step 6 (installing and activating a newer Emscripten), go to Edit > Preferences > Devices > Webassembly.
      2. Enter invalid path to Emscripten, apply.
      3. Enter valid path to Emscripten, apply.

      This seems to trigger the right processes and the compiler list gets updated with active Emscripten version

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            kati Katarina Behrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes