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

Q_PROPERTY containing QList<QGeoCoordinate> doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.9.1
    • Fix Version/s: None
    • Component/s: Positioning
    • Labels:
      None

      Description

      Firstly, I want to be able to set an entire MapPolyLine path in one go. Why is the path property read only?!

      Second,

       

      Sending a Q_PROPERTY(QList<QGeoCoordinate> .. ) to qml, doesn't work. The value is undefined.

      If you use QQmlListProperty you get `Unable to handle unregistered datatype 'QQmlListProperty<QGeoCoordinate>'`

       

      Please explain how this is supposed to work.

       

      I have 2 modes, one is where the points come in one by one, and I use the polyline.addCoordinate method. The second is where I have all the points up front and want to setup the line in one go.

        Attachments

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

          Activity

            People

            • Assignee:
              paangele Paolo Angelelli
              Reporter:
              Dynite Michael Cox
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes