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

Build step targets revert to "all" after rescanning project

    XMLWordPrintable

Details

    • b3bd8b81c409023c49b89d731277807889514f91 (qt-creator/tqtc-qt-creator/4.15)

    Description

      When multiple build configurations (e.g. Debug and Release ) are used with a CMake project, build steps for configurations except for the active one are reset to "all".

      Steps to reproduce:

      1. Open a CMake target.
      2. Select the Debug configuration.
      3. Choose a target other than "all" for the build step.
      4. Switch to the Release configuration.
      5. Exit Qt Creator.
      6. Re-launch Qt Creator.
      7. Switch to the Debug configuration. Notice how the build step is reset to "all".

      Note: As pointed out in this comment it's sufficient to trigger a rescan of the project to cause this bug.

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              akb825 Aaron Barany
              Votes:
              12 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes