Qt Code:
  1. void ZePhotoList::onBrowsePhoto()
  2. {
  3. QString filePath = QFileDialog::getOpenFileName(0,
  4. tr("Open Image"),
  5. QDir::home().path(),
  6. tr("Image Files
  7. (*.png *.jpg *.bmp)"));
  8. }
To copy to clipboard, switch view to plain text mode 

On wn32, when running that line I get a loop of :
QFile::seek: IODevice is not open

Any idea ?