Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QFileDialog changes the application font on red hat linux 5.4 when it launch
Qt 6.11 is out! See what's new in the release blog

QFileDialog changes the application font on red hat linux 5.4 when it launch

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yhodage
    wrote on last edited by
    #1

    Hello ,

    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
    EX
    QFileDialog filedialog (parent_widget,"Select File",dir, filter);
    filedialog.setFileMode(QFileDialog::AnyFile);
    filedialog.setCaption ("Select File");
    filedialog.setViewMode (QFileDialog::Detail);
    filedialog.exec()

    here once filedialog.exec() executed it changes the font of my application.

    is anybody know this issue?

    Thanks

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      yhodage
      wrote on last edited by
      #2

      Is anybody know this issue ?
      i am stuck at this problem

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yhodage
        wrote on last edited by
        #3

        Can anybody help me to resolve this issue?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          riary
          wrote on last edited by
          #4

          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.

          1. Run the KDE desktop instead of gnome
          2. 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.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved