Details
-
Suggestion
-
Resolution: Won't Do
-
P4: Low
-
None
-
Qt Creator 15.0.0 (15.0 branch)
-
None
-
Ubuntu 22.04 LTS
Description
- Create a new project.
I used a Qt Widgets Application. It doesn't matter whether it's using CMake or qmake. - Go to "Projects" mode, "Build" settings.
A build configuration was created:Name Build Directory Debug <src>/build/Desktop-Debug - Add a new build configuration with the type and name "Debug".
Creator detects that this name is already in use and correctly adjusts the values:Name Build Directory Debug2 <src>/build/Desktop-Debug2 This was fixed with
QTCREATORBUG-31470. - Rename the build configuration to "Debug1"
Creator changes the name, but not the build directory:Name Build Directory Debug1 <src>/build/Desktop-Debug2 - Add a new build configuration with the type and name "Debug" again.
Creator detects that this name is already in use and adjusts name and directory, but it is missing the already existing build directory:Name Build Directory Debug2 <src>/build/Desktop-Debug2 So build configurations "Debug1" and "Debug2" will now both use the same directory which will cause trouble.
It might make sense to also move the build directory when renaming in step 4, but that might mean that everything has to be built again. Creator should watch out for already used directories in step 5.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-31470 Creator doesn't differentiate new build configs properly
- Closed