Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103246

Qt should have a QIo like what KIO is. But much much better

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15, 6.3.0, 6.5
    • Core: I/O
    • None
    • Qt has no answer to Gio and GVfs
    • All

    Description

      We all know that Alexander Larsson won the battle of the virtual file systems. Today GLib's Gio with GVfs is massively better than KDE's KIO with its kio-slaves.

      Any further discussion after about 15 years of debacle is more or less pointless: everybody and everything uses Gio with GVfs. Almost nothing uses KIO (except KDE's software titles). And KIO is completely unmaintained and its code is rotting.

      Meanwhile almost everybody wants a virtual file system API from Qt.

      I think its implementation should follow Gio's,  which unlike KIO's include a rich support for streaming.

      I think the API should utilise the QPromise and QFuture  advancements that Qt finally has been making in its 6.x series.

      And I think it's time to do it.

      Perhaps firstly by wrapping GLib's Gio. And by that I mean to rid ourselves of Qt ideologies and allowing a GLib/Gio dependency. Until somebody makes a implementation that is pure to C++ without GLib (yes, whatever).

      The problem, I think, with the whole silly debate is that for decades now: we are not making good abstractions that just work for the end-users of the Qt framework.

      This end-user really doesn't care about this ideology, or lack of ideology. This end-user just wants a way to address a virtual file system.

      I think the end-user is right to expect this in goddamn 2022.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              cnn Qt Core & Network
              pvanhoof Philip Van Hoof
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes