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

Blocking calling of all possible compilers at launch

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.13.1
    • C/C++/Obj-C++ Support
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes