Code::Blocks Forums

User forums => Help => Topic started by: piotr270977 on December 20, 2006, 11:48:52 am

Title: qDebug
Post by: piotr270977 on December 20, 2006, 11:48:52 am
How to setup CB + MinGW (or dbg)  to use with qDebug Q_ASSERT and so on... ?

Which window is proper for qDebug output ?
Title: Re: qDebug
Post by: mandrav on December 20, 2006, 12:40:09 pm
Do you think that everyone automatically knows what "qDebug Q_ASSERT and so on" are? I don't...
Title: Re: qDebug
Post by: piotr270977 on December 20, 2006, 01:52:16 pm
Do you think that everyone automatically knows what "qDebug Q_ASSERT and so on" are? I don't...

void qDebug ( const char * msg, ... )

Prints a debug message msg, or calls the message handler (if it has been installed).

This function takes a format string and a list of arguments, similar to the C printf() function.


Under X11, the text is printed to stderr. Under Windows, the text is sent to the debugger.
Title: Re: qDebug
Post by: yop on December 23, 2006, 06:17:27 pm
These are Qt specific. Setup a Qt project and they will be available