I get now what You want to do.
So You need to do an extra work to get this to work the way you want it to.
First:

Qt Code:
  1. QFileDialog *fileDialog = new QFileDialog;
  2. fileDialog->setFileMode( QFileDialog::AnyFile );
  3.  
  4. fileDialog->open( this, SLOT(slotSel(QString)) );
To copy to clipboard, switch view to plain text mode 
then declare slot i.e. slotSel(QString). This will bring a QT FileDialog, not the SYSTEM!.
When You type i.e. 1 full path will be returned in slot
i.e.:
Qt Code:
  1. void MainWindow::slotSel( QString fileNameAndPath)
  2. {
  3. qDebug() << fileNameAndPath;
  4. }
To copy to clipboard, switch view to plain text mode 
And here You can do whatever You want with the string path.