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

Test QtPositioning on all supported platforms

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.2.0 FF
    • Component/s: Positioning
    • Labels:
      None
    • Story Points:
      13
    • Sprint:
      Qt6_Foundation_Sprint 29

      Description

      QtPositioning uses plugins system to provide its features under different platforms.

      The scope of this task is to test that those plugins work as expected on all supported platforms.

      Below is the list of platforms together with the plugins that need to be tested on each of them.

      Linux

      • [works] positionpoll
      • geoclue - tested on Ubuntu 18.04 virtual machine. The plugin starts, connects to Geoclue.Master D-Bus service, but after that fails to get any position provider. Not possible to find any reasonable documentation about how Geoclue is supposed to be working (google brings up only geoclue2 topics).
      • [works] geoclue2
      • [works] gypsy - works with https://codereview.qt-project.org/c/qt/qtlocation/+/338155
      • [works] nmea: serial port, socket and file.

      MacOS & iOS

      • positionpoll
      • corelocation
      • nmea (I guess MacOS only): serial port, socket and file.

      Windows

      • positionpoll
      • winrt
      • nmea: serial port, socket and file.

      Android

      • [works] positionpoll
      • [works] android

      This list is based on https://code.qt.io/cgit/qt/qtlocation.git/tree/src/plugins/position/CMakeLists.txt

      Some comments:

      • To test positionpoll plugin it might be enough to run tst_QGeoAreaMonitorSource test, which just reads the position data from nmealog.txt file. The test checks all the typical usecases for the plugin.
      • NMEA: PositionInfo can be tested from QML (PositionSource object) or C++ (QGeoPositionInfoSource::createSource); SatelliteInfo can be tested from C++ only (QGeoSatelliteInfoSource::createSource).

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-91528
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              ivan.solovev Ivan Solovev
              Reporter:
              ivan.solovev Ivan Solovev
              PM Owner:
              Maurice Kalinowski Maurice Kalinowski
              RnD Owner:
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes