where can I get qWarning () output
Hi all,
I 'm using linux box, with Qt 3.
When I used qWarning to print a warning message, cant get that text on the screen.
Where can I get that message. Here is my simple program.
Code:
#include <qapplication.h>
int main ( int anArgumentCount, char** anArguments )
{
QApplication anApplication
( anArgumentCount, anArguments
);
qWarning ( "warning message ");
return anApplication.exec ();
}
Thx in advance
Re: where can I get qWarning () output
did you look in the console?
Re: where can I get qWarning () output
Yes, Its working fine for me.
thank you.
Re: where can I get qWarning () output
Quote:
Originally Posted by high_flyer
did you look in the console?
For output in console used qDebug
And about qWarning from Asistant
Quote:
Under X11, the text is printed to stderr. Under Windows, the text is sent to the debugger.
Re: where can I get qWarning () output
Adding console to the CONFIG options in the .pro file, also helps! ;)
Re: where can I get qWarning () output
Thanks a lot.. I was able to see the debug messages by using CONFIG += console in my application
Re: where can I get qWarning () output
Or write Yours message handler and put all messages into the file.Read about this here.