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 doesn't show any content on ubuntu
QtWS25 Last Chance

QFileDialog doesn't show any content on ubuntu

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 858 Views
  • 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.
  • W Offline
    W Offline
    wartburgritter
    wrote on last edited by
    #1

    On https://github.com/berndhahnebach/IfcPlusPlus (branch master) I distribute a Qt based viewer to view digital building modells called BIM models. I've been using the viewer for a few month on Debian Jessie.

    Tested the viewer on Ubuntu Trusty Tahr and the choose file widget does not work at all. The QFileDialog is displayed if the QPushButton (btn_add_file, "Choose file") is pushed. /SimpleViewer/src/gui/TabReadWrite.cpp line 368 But the widget it is not filled with content. If the widget is resized somtims some folder are displayed on the left, but in any case no file is shown.

    Does anyone have an idea which way to go for finding the problem?

    kind regards bernd

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should contact the Ubuntu guys directly to see what they modified recently.

      On an unrelated note, you should use qobject_cast and not c style cast for QObject derived class.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wartburgritter
        wrote on last edited by
        #3

        @SGaist:
        Thanks for your reply.

        Found a workaround. Just lunch the application using a different style by

        ./IfcPlusPlusViewer -style=fusion

        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