Extend file system
-
wrote on 31 Dec 2019, 08:44 last edited by
Hello,
I would like to extend the scope of the QT files system in order to be able use QFile and resource engine to load data from this file extended system.I have a rather sophisticated virtual file system engine, where I can use files on any device with proper virtual file system handler implementation. It's similar in surtax to QT when accessing files as URI or from resource. However my system is not limited to OS files + resources.
e.g. vfsfile.open("http://filename"), vfsfile.open("file:///c:/filename"), vfsfile.open("device://dev_name/filename").
I would like in similar way to be able to load files using QImage("device://dev_name/filename")
Is QT ready for that kind of file system extension?
Thanks
-
wrote on 31 Dec 2019, 19:11 last edited by
It sounds like you would be more interested in KDE's KIO which is built with Qt, but has the idea of abstract IO devices so you can read files from arbitrary sources using the API.
-
It sounds like you would be more interested in KDE's KIO which is built with Qt, but has the idea of abstract IO devices so you can read files from arbitrary sources using the API.
wrote on 6 Jan 2020, 10:09 last edited by@wrosecrans Thanks I will check it out. From first view, it can't really extend QT own system.
1/3