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

Consider QQuickRhiItemRenderer being QObject

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • None
    • None
    • Quick: SceneGraph
    • None

    Description

      Currently QQuickRhiItemRenderer inherits QObject, but I don't think it uses any QObject features (at least yet). Also it doesn't pass parent for memory management. I bumped into this as one QNanoPainter example outputs now warning with RHI backend as QSGRenderNode or QQuickFramebufferObject::Renderer neither are QObject based. ([ https://github.com/QUItCoding/qnanopainter/issues/75|https://github.com/QUItCoding/qnanopainter/issues/75] )

      So making this ticket just for considering what the pros and cons are while API can still be adjusted.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes