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

Cannot unselect obsolete target

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      dbb5a70f93bb19c7907abcdc3b26248b2959c208 (qt-creator/tqtc-qt-creator/4.15)

      Description

      When a particular target, e.g. "target1" is explicitly selected for the build step, and this target is removed from the CMake project, it remains active for this build step, but is not listed in the available targets and cannot be removed. When building, this leads to an error.

      To reproduce:

      1. Add add_custom_target(target1) to a CMake project.
      2. Select this target for the build step.
      3. Change the target name to target2 in the CMake project.
      4. Try to build (error) or to change the build targets (target1 not removable).

        Attachments

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

          Activity

            People

            Assignee:
            cadam Cristian Adam
            Reporter:
            dg0yt Kai Pastor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes