"Open file" dialog in Qt
-
I want the application to be able to browse the file system, like windows open file dialog.Is there anything likle that already made on Qt that does that and puts the file into a QFile object?
-
Use QFileDialog.
-
@QString fileName = QFileDialog::getOpenFileName(this, tr("Open File"),
"",
tr("Files (.)"));@this static function calls the native file dialog.