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

No way to construct qml Path from QPainterPath

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes