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

QtPositioning does not expose Coordinate to QML

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.2.0 Alpha
    • Fix Version/s: 5.2.0 RC1
    • Component/s: Positioning
    • Labels:
      None
    • Environment:
      Sailfish Alpha Qt5 (Positioning libraries report as 5.1, but should be "close" to 5.2)

      Description

      Positioning has a DeclarativeCoordinate, but this is not exposed to QML.

      I think something like this is missing from Positioning.cpp

      qmlRegisterType<QDeclarativeCoordinate >(uri, major, minor, "Coordinate");

      This means that Coordinates can not be used in QML, only in C++

        Attachments

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

          Activity

            People

            • Assignee:
              ablasche Alex Blasche
              Reporter:
              flyingsheep Christopher Lamb
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes