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

Blocking calling of all possible compilers at launch

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.13.1
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Environment:

      Description

      Launching QtCreator it takes multiple seconds before the UI shows up, where most of them seem to be spent launching everything that looks like compilers in my PATH, in total ~99 blocking process calls (+ one call to git and one to cmake).

      I'm not sure what the best way to avoid this is, it could execute them asynchronously (or in a background thread), cache the output (based on the mtime of the executable), or delay launching them until the info from them is necessary (e. g. wait until I try to use a kit with a particular compiler).

      There is already Re-detect button in the kit configuration, so I assume auto-detection isn't ran every time.

      And maybe wait until the UI is ready and add some feedback that something is happening.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kandeler Christian Kandeler
              Reporter:
              sandsmark Martin Sandsmark
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes