Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QFileDialog::getOpenFileName on maemo not browsing entire directory tree
QtWS25 Last Chance

QFileDialog::getOpenFileName on maemo not browsing entire directory tree

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 3.9k 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.
  • B Offline
    B Offline
    borunov
    wrote on last edited by
    #1

    Hello!
    in my Python code I run that:

    @
    self.filename = QtGui.QFileDialog.getOpenFileName(self, 'Open file','/')
    @

    when I run it on Arch (Qt 4.6.3) that's open file dialog from root directory ("/"). But, on maemo5 (Qt 4.6.2) I can browse only "Nokia N900" which is /home/user directory and "Kingston", that means /media/mmc1 - not entire directory tree. how can I browse entire tree?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      harryF
      wrote on last edited by
      #2

      Qt uses the native file dialog on Maemo 5 ("Maemo docs":http://maemo.org/api_refs/5.0/5.0-final/hildonfm/HildonFileChooserDialog.html), which disallows browsing anything but the home dir and the memory card. To browse the entire file tree (and risk being rejected from the Ovi store), you can use a QFileSystemModel on a QTreeView?

      // happy hacking

      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