Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QFileDialog changes the application font on red hat linux 5.4 when it launch
I have launch the QFileDialog from my application on Linux machine to browse the folder selection. i am using qt 4.8.0 version. when i launch the QFileDialog to select folder on linux machine through my application, it changes the font of my application. below is code snippet
QFileDialog filedialog (parent_widget,"Select File",dir, filter);
filedialog.setCaption ("Select File");
here once filedialog.exec() executed it changes the font of my application.
is anybody know this issue?
Is anybody know this issue ?
i am stuck at this problem
Can anybody help me to resolve this issue?
riary last edited by
I have the same problem. I am using RHEL 5.10 and Qt 4.8.5. With help from Qt support, we finally came up with a couple of workarounds yesterday.
- Run the KDE desktop instead of gnome
- Keep using the gnome desktop but run the program with the additional option "-style cleanworks", or any style other than gtk.
RHEL5 is not a supported platform for Qt 4.8, so, they are not willing to look for a code change, but at least they did help find these workarounds.