Qt Creator: how to set debug or release mode

qtqt-creator

I am making a C++ project in Qt Creator, using cmake and my own CMakeLists.txt file. How do I specify whether I want to build in debug or release mode? Is this something I set in Qt Creator, or in CMakeLists?

Best Answer

In Qt creator, you will find the option towards the left bottom, just above the run button.

Build configurations for Debug and Release builds can be accessed by clicking on "Projects" in the left toolbar while ur project is open.