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

Selected build targets cannot be unselected from targets list when removing them from CMakeLists.txt and running CMake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.14.0-beta1
    • openSUSE Leap 42.2
    • Linux/X11

    Description

      If a specific target was selected to build, and subsequently removed from CMakeLists.txt, the "Build Steps" Targets list doesn't show the target anymore, but the "Build:" command line still shows the target there.

      This causes builds to fail.

      Neither closing/re-opening the project, nor quiting/re-starting Qt Creator with the project, fixes the issue (the deprecated target is still present on the command line as shown, but not available to be unselected from the list.)

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              pmaciel Pedro Maciel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes