Important: Please read the Qt Code of Conduct -

QFileDialog::getExistingDirectory show hidden?

  • I'm using a QFileDialog::getExistingDirectory function call; I'd like to see hidden directories. Seems that there's no option for thnis static function to do that, and also no option to do so if I create my own QFileDialog (i.e. without the static function call).

    Trawling around, it seems that QT3 had a setShowHiddenFiles function that might have been useful, but I can't find how to do it using QT 4.8; does anyone know?

  • Qt Champions 2017

    See if this helps. Off-course it is not static function. You have to have object for this to work.


Log in to reply