I'm trying to copy some simple text from a QWebView.
I've tried to use this code but doesn't working too:

Qt Code:
  1. QAction *act = this->pageAction(QWebPage::Copy);
  2. act->setShortcut(QKeySequence::Copy);
To copy to clipboard, switch view to plain text mode 

How I can enable the Ctrl+C command ?