I am working with qMake CONFIQ variable
in Qt-creator. I would like to display a message for whether I am in the debug or in the release mode. So, I edited my .pro file
as follow:
CONFIG(debug, debug|release){
message("debug mode")
} else {
message("release mode")
}
and according to THIS, the message "is output to the console and processing of the project file carries on". Till now, I am just guessing this "console" would be my Qt-Creator Application Output tab. if I am right, then something is wrong as I don't see any messages when I compile my project. if I am wrong, then where these messages should be displayed ?
You should see the messages on Compile Output tab. Please keep in mind that these messages are displayed when you run qmake and not when you compile your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With