How can I open dotfiles using QFileDialog?
-
Hi,
AFAIK, that's not possible. I don't remember you can configure that in macOS itself.
-
I don't have a mac to test right now.
But if you don't mind the dialog looking differently, you can try usingQFileDialog::DontUseNativeDialogas the option.
This will enable using Qt defined file dialog instead of system file dialog.
Maybe it will response toQDir::Hidden. -
@SGaist said in How can I open dotfiles using QFileDialog?:
AFAIK, that's not possible.
Is it a known bug? Or not yet implemented?
I don't remember you can configure that in macOS itself.
You can, using the
NSOpenPanel's showsHiddenFiles property. I just tested it now to make sure. -
I don't have a mac to test right now.
But if you don't mind the dialog looking differently, you can try usingQFileDialog::DontUseNativeDialogas the option.
This will enable using Qt defined file dialog instead of system file dialog.
Maybe it will response toQDir::Hidden.@Bonnie said in How can I open dotfiles using QFileDialog?:
But if you don't mind the dialog looking differently, you can try using
QFileDialog::DontUseNativeDialogas the option.Actually, I do want to use the native one, while, indeed, it works with Qt's one.
-
@SGaist said in How can I open dotfiles using QFileDialog?:
AFAIK, that's not possible.
Is it a known bug? Or not yet implemented?
I don't remember you can configure that in macOS itself.
You can, using the
NSOpenPanel's showsHiddenFiles property. I just tested it now to make sure.@Revolt said in How can I open dotfiles using QFileDialog?:
@SGaist said in How can I open dotfiles using QFileDialog?:
AFAIK, that's not possible.
Is it a known bug? Or not yet implemented?
I don't remember you can configure that in macOS itself.
You can, using the
NSOpenPanel's showsHiddenFiles property. I just tested it now to make sure.Thanks for the reminder. I would say not implemented yet and related to QTBUG-65530.
You should check the bug report system to see if you find something more and if not open a feature request for that.