ndbd February 2016
QCreator: how to create debug build configuration
I started a new C++/Qt-Desktop project in QCreator and two build configurations were automatically created:
- a Release-Configuration where the build was created in a separate directory than the source-code
- a Debug-Configuration, where additional compiler flags were set and you could nicely debug with Valgrind
Somehow I got these build-configurations deleted (either by moving to a new computer, or opening the project on another computer - I don't know).
How to I recreate these two (apprently default) configurations for my specific project?
Kuba Ober February 2016
Open your project.
Go to the Projects pane.
Select the Build & Run tab.
Select the Build subtab.
In the "Edit build configuration:" line, click Add dropdown, select Build submenu.
Select the Debug or Release configuration in Build Steps->Details.
Tim Jenßen February 2016
- close your project
- remove the .pro.user file
- reopen the closed project
Asked in February 2016
Viewed 3,023 times
Answered 2 times
Leave an answer
Quote of the day: live life