Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

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

    Hi,

    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