[Qt-interest] launch default QT msgHandler within custom MsgHandler

Serge mb0 at km.ru
Mon Apr 12 11:34:04 CEST 2010


Hello,

i'm using this code:

void myMessageOutput(QtMsgType type, const char *msg)
{
	switch (type) {
	case QtFatalMsg:
// how to launch here default QT message handler, which would work, if i 
would not used myMessageOutput?
	}	
}

int main( int argc, char ** argv )
{
	qtMsgHandler = qInstallMsgHandler(myMessageOutput);


Thank you!



More information about the Qt-interest-old mailing list