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:
NULL,
tr("Choose a scanned (300dpi) image"),
tr("Images (*.png *.jpg *.jpeg *.bmp *.gif *.pnm *.xpm)"),
NULL,
);
QString s = QFileDialog::getOpenFileName(
NULL,
tr("Choose a scanned (300dpi) image"),
QDir::home().path(),
tr("Images (*.png *.jpg *.jpeg *.bmp *.gif *.pnm *.xpm)"),
NULL,
QFileDialog::DontUseNativeDialog
);
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
Bookmarks