Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
4.6.0
-
Mac 10.6.2
Description
I tried browing the virtual resource filesystem using a QFileSystemModel. As with any other path in Qt, I tried prepending a : in front of the filename. So the root of the virtual resource filesystem would be ":/". The below pasted example tries to browse the resources but on my system I get the regular filesystem.
#include <QApplication> #include <QTreeView> #include <QFileSystemModel> int main(int argc, char** argv) { QApplication app(argc, argv); QFileSystemModel model; model.setRootPath(":/"); QTreeView view; view.setModel(&model); view.show(); return app.exec(); }
Attachments
Issue Links
- relates to
-
QTBUG-103246 Qt should have a QIo like what KIO is. But much much better
- Open
-
QTBUG-92155 Provide a QML module for file system access
- Open