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

Improve QtPositioning QML API

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4
    • Positioning
    • None
    • QtPositioning QML API
    • All

    Description

      QtPositioning provides 3 main features:

      • Requesting the position info via QGeoPositionInfoSource.
      • Requesting the satellite info via QGeoSatelliteInfoSource.
      • Monitoring selected areas using QGeoAreaMonitorInfoSource.

      All of those are C++ APIs.

      Now when we talk about QML, the situation is much worse. We only have PositionSource QML element that represents QGeoPositionInfoSource.

      The scope of this epic is to provide QML APIs for the other two features. This will give us a better support of mobile platforms (at least, Android), because most of the mobile apps use QML for the UI anyway.

      There is already a long-pending request from the community to add support for SatelliteInfo in QML (see linked Jira tasks). The main problem here is that not all backends provide this information (the biggest issue is iOS). However in Qt 6 we extended NMEA plugin, so we can use it on all desktop platforms, and the Android plugin also provides the info. So for iOS we can just mention the limitation in the documentation.

      As for the area monitoring - our current backend simply uses the QGeoPositionSource provided by the platform, so this should be available on all platforms.

      Attachments

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

        Activity

          People

            ivan.solovev Ivan Solovev
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes