Qt Code:
  1. QtMsgHandler handler = qInstallMsgHandler(myHandler);
  2. if(handler)
  3. qInstallMsgHandler(handler);
To copy to clipboard, switch view to plain text mode