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

Ability to register custom handlers for root paths with QResource

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Core: Resource System
    • None

    Description

      We have a system similar to QRC that we'd like to be able to hook Qt into. Currently we use a QNAM via QtQuick/QtWebKit, but there are some drawbacks, especially with QtQuick.

      Ideally we would like to be able to register a root path with a handler object. Something like:

      MyResourceHandler *handler = new MyResourceHandler();
      QResource::registerHandler("my_root_path", handler);
      

      Any access to

      :/my_root_path/...

      would then go through our resource handler.

      Attachments

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

        Activity

          People

            hjk hjk
            jfaust Josh Faust
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes