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

Ability to register custom handlers for root paths with QResource

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes