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. Linux And Windows FileDialogBox
Forum Updated to NodeBB v4.3 + New Features

Linux And Windows FileDialogBox

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.5k 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.
  • S Offline
    S Offline
    S.ANAND
    wrote on last edited by
    #1

    Quick Question ,

    When we are using QFileDialogbox::getopenfilename in windows it is displaying drives and all folders but when we use the same in linux it is only displaying the root folder and home folder.and when we open the qtcreator file->openProject that file dialog displays all the drives but mot mine.SO how to create a file dialog to display even drives in linux as QtCreator Does.

    Please Help.
    Thank you.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      beemaster
      wrote on last edited by
      #2

      Linux is different, it doesn't have drives, like Windows (C:/ D:/, etc.)
      It may mount drives to /media, for example.
      What linux distro are you using?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        S.ANAND
        wrote on last edited by
        #3

        Yes but it has the drives like others , softwares and other drives which name we allocated the label of drive but not c:/ d:/ i use ubuntu Linux

        1 Reply Last reply
        0
        • B Offline
          B Offline
          beemaster
          wrote on last edited by
          #4

          If you open file manager, can you see drives that you want?
          Can you please attach 2 screenshots:

          1. Default file manager
          2. QFileDialog
          1 Reply Last reply
          0
          • S Offline
            S Offline
            S.ANAND
            wrote on last edited by
            #5

            Ok Now Solved the problem its the problem with my linux os other than my os its working.

            Thank you For Replying Me.

            S.Anand

            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