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

Buttons for build/debug/run remain disabled after running cmake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.3.0-rc1
    • Fix Version/s: Qt Creator 4.4.0
    • Labels:
    • Environment:
      QtCreator 4.3.0_1142 (2017-05-19 snapshot) / cmake 3.5.1 / Ubuntu 16.04 LTS

      Description

      I have a session with three cmake based projects with two kits (Host/Target) and two build types (Debug/Release).

      When I switch to a different kit or build type using the kit selector button on the left button panel than the buttons for Run, Debug and Build are disabled and cmake is started. After cmake has finished successfully the buttons are not always enabled again. Sometimes they are all enabled, sometimes non of them, sometimes only Run and Debug.

      Most times it's sufficient to to click once on the project entry in the project tree and alle the mentioned buttons get enabled. Sometimes it needs to open the context menu of the project to enable the buttons. And sometimes I have to call "run cmake" from the context menu...

      In every case cmake does not report anny error:

      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/devel/projects/....

      But only when I call cmake explicetly all buttons are enabled - it's not deterministic when cmake is called when using the kit selector.

       

       

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              hunger Tobias Hunger
              Reporter:
              mic Michael Hanfland
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes