Important: Please read the Qt Code of Conduct -

set QFileDialog font

  • I'm using a static QFileDialog::getOpenFileName() on a BBB with a 5.7" 640x480 display with Qt 5.3.2. The font used for the file name display is rather small to be selected by a finger on the touch screen. I haven't been able to figure out any way to set a different font.
    Does anybody know how to do this?

  • Lifetime Qt Champion


    AFAIK, you can't when calling the static methods, it's also a native file dialog so it should follow your OS settings

Log in to reply