The third argument to QFileDialog::getSaveFileName() is a -directory- not a -file- name. If you want to pre-select a file name, then you will have to use the non-static methods and call the QFileDialog::selectFile() method before calling QFileDialog::exec().
Bookmarks