Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QFileDialog::getOpenFileName on maemo not browsing entire directory tree
borunov last edited by
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?
harryF last edited by
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?