is
Qt Code:
  1. view->selectionModel()
To copy to clipboard, switch view to plain text mode 
returning a valid pointer? Did you have rerun qmake, do you use the Q_OBJECT macro?