Strange that this is needed, I wonder why QFileDialog::getSaveFileName doesn't return native OS path separators by default.