Can QFileDialog act like the OS File explore Finder for example?
Can QFileDialog open a file like Finder? I want to be able double click and have the OS open the file. I generate Excel files and then I want the user to open the file(s) in Excel.
I know you can do this: QDesktopServices::openUrl(QUrl("file:///" +fn) );
but i prefer not to.
i am currently using
QDesktopServices::openUrl(QUrl("file:///" + WhereToPutReport))
to get the behavior I want.
By default QFileDialog uses the OS specific file dialog so you already have the original behavior. But a file dialog is not a finder/explorer window, it's not its purpose