Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.12.2, Qt Creator 4.13.0-rc1, Qt Creator 4.13.0
-
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:
- Open a CMake target.
- Select the Debug configuration.
- Choose a target other than "all" for the build step.
- Switch to the Release configuration.
- Exit Qt Creator.
- Re-launch Qt Creator.
- 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
- is duplicated by
-
QTCREATORBUG-24349 [Reg 4.12 -> 4.13] build target "Current Executable" is lost after restarting QtC
-
- Closed
-
-
QTCREATORBUG-24470 cmake target selection not persistent
-
- Closed
-
-
QTCREATORBUG-24507 "Targets" selection in "Build Steps" is not persistend in latest RC and often resets to "all"
-
- Closed
-
-
QTCREATORBUG-24707 cmake run reverts build target selection to "all"
-
- Closed
-
-
QTCREATORBUG-24715 Selection of <Current Executable> target gets lost randomly with CMake
-
- Closed
-
-
QTCREATORBUG-24844 Preferred build target is lost after running CMake
-
- Closed
-
- relates to
-
QTCREATORBUG-24639 UX for target selection in cmake build steps
-
- Closed
-