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

Unable to fetch position with Geoclue plugin on ArchLinux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.10.1
    • Fix Version/s: None
    • Component/s: Positioning
    • Labels:
      None
    • Environment:
      * ArchLinux x64
       * geoclue2 2.4.7

      Description

      Using of the PositionSource element:

       

              PositionSource {
                  id: positionSource
                  updateInterval: 1000
                  active: true
                  onPositionChanged: {
                      userCoordinate = position.coordinate;
      //                console.log("Coordinate:",
      //                            userCoordinate.longitude,
      //                            userCoordinate.latitude);
                  }
              }
      

      does nothing (it does not work at all).

       

      In the console I see following output:

       

      Failed to set Geoclue positioning requirements. Geoclue error: org.qtproject.QtDBus.Error.InvalidObjectPath
      
      

      The PositionSource reports that its 'valid' property is true, and the "libqtposition_geoclue.so" plugin is present.

       

       

       

       

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                ablasche Alex Blasche
                Reporter:
                kuzulis Denis Shienkov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes