you missed quotes in your example
Qt Code:
To copy to clipboard, switch view to plain text mode 
should be
Qt Code:
  1. QString("%1")
To copy to clipboard, switch view to plain text mode