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

Rework QGeoAreaMonitor as a plugin

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P1: Critical
    • 5.2.0
    • None
    • Location
    • None

    Description

      The QtLocation module has been designed to allow platform-specific backends to be implemented via plugin architecture, nicely decoupling the QtLocation core code base from the backend implementations. However, QGeoAreaMonitor has not been implemented this way. Providing a QGeoAreaMonitor backend (instead of the existing platform-independent implementation) requires the use of #define's based on the platform, and thus maintaining the platform dependent code with the core QtLocation code.

      Consider reworking QGeoAreaMonitor to utilize the plugin architecture, or deprecate QGeoAreaMonitor in favour of a more robust GeoMonitoring service (e.g. as proposed in QTBUG-31711)

      Note that we found the default, platform-independent, implementation of QGeoAreaMonitor, although demonstrative, not practical in real use. Relying on a constant position update rate wastes power at one proximity extreme, and may not be timely enough at the other extreme. As well, it may not scale well when used to monitor a large number of areas.

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              jehrismann Jim Ehrismann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes