Althor
13th July 2010, 08:20
Hi,
I want to install my own message handler to redirect stderr output to stdout but before install my message handler I would like to check if a message handler has been installed already.
is there any function to check it I could use?
Basically I want to do this:
if (there is not a message handler installed)
qInstallMsgHandler(myMessageOutput);
thanks in advance
regards.
I want to install my own message handler to redirect stderr output to stdout but before install my message handler I would like to check if a message handler has been installed already.
is there any function to check it I could use?
Basically I want to do this:
if (there is not a message handler installed)
qInstallMsgHandler(myMessageOutput);
thanks in advance
regards.