I can’t seem to figure out how to get QClipboard to work right. clear and setText seem to do nothing. Am I missing something here? win7 with qt 5.3.1. Thanks in advance!

Qt Code:
  1. auto *pClip=QApplication::clipboard();
  2. pClip->clear();//no effect?
  3. pClip->setText("abc");//no effect?
  4. QString str=pClip->text()//returns whatever was in clipboard prior to above code
To copy to clipboard, switch view to plain text mode