Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QT-Creator: where should I see the output of the qMake variable: "message( string )"

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 ?

like image 817
hashDefine Avatar asked Oct 21 '22 08:10

hashDefine


1 Answers

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.

like image 105
Bill Avatar answered Jan 02 '23 21:01

Bill