Jusi to bump this up, still no go. The code works perfectly on Linux but gets killed on Win32.

Eventuall I have this code, which seems to work:
Qt Code:
  1. QString s = QFileDialog::getOpenFileName(
  2. NULL,
  3. tr("Choose a scanned (300dpi) image"),
  4. QDir::home().path(),
  5. tr("Images (*.png *.jpg *.jpeg *.bmp *.gif *.pnm *.xpm)"),
  6. NULL,
  7. QFileDialog::DontUseNativeDialog
  8. );
To copy to clipboard, switch view to plain text mode 

Not optimal, but what the hell... I think I will report this to the trolls, as it seems a bug in win32's version of Qt 4.1.1