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

No way to construct qml Path from QPainterPath

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.11.2
    • Quick: Other
    • None

    Description

      QQuickPathElements appear to construct a QPainterPath internally. I can construct my own QPainterPath in C++ and expose it as a property, but there doesn't appear to be any way to construct a qml PathElement using my QPainterPath.

      As far as I can tell, there isn't currently any sane way to take a model containing a list of 2D points and construct a QtQuick Shape to render a path through them.

      Attachments

        Issue Links

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

          Activity

            People

              w00t Robin Burchell
              THall Tom Hall
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes