check this
Qt Code:
  1. QProcess::closeWriteChannel ()
To copy to clipboard, switch view to plain text mode