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

Issue with Positioning plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Incomplete
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Component/s: Positioning
    • Labels:
      None
    • Environment:
      Manjaro Archlinux 64bit
    • Platform/s:
      Linux/X11

      Description

      When testing the doc example SatelliteInfo , on my archlinux system the following plugins were loaded and available: geoclue and geoclue2.

      QGeoPositionInfoSource::availableSources()

      But the one selected by Qt was geoclue whereas geoclue 2.5.5 is the only version of geoclue installed on my computer.
      And I got the following error:

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

      When removing

      /usr/lib/qt/plugins/position/libqtposition_geoclue.so
      

      geoclue2 was selected and everything worked fine.

      I think it was using the Geoclue D-Bus interface instead of the Geoclue2 one.

      The following files are the one installed by the geoclue package:

      /etc/geoclue/geoclue.conf
      /etc/xdg/autostart/geoclue-demo-agent.desktop
      /usr/include/libgeoclue-2.0/gclue-client.h
      /usr/include/libgeoclue-2.0/gclue-enum-types.h
      /usr/include/libgeoclue-2.0/gclue-enums.h
      /usr/include/libgeoclue-2.0/gclue-helpers.h
      /usr/include/libgeoclue-2.0/gclue-location.h
      /usr/include/libgeoclue-2.0/gclue-manager.h
      /usr/include/libgeoclue-2.0/gclue-simple.h
      /usr/include/libgeoclue-2.0/geoclue.h
      /usr/lib/geoclue
      /usr/lib/geoclue-2.0/demos/agent
      /usr/lib/geoclue-2.0/demos/where-am-i
      /usr/lib/girepository-1.0/Geoclue-2.0.typelib
      /usr/lib/libgeoclue-2.so
      /usr/lib/libgeoclue-2.so.0
      /usr/lib/libgeoclue-2.so.0.0.0
      /usr/lib/pkgconfig/geoclue-2.0.pc
      /usr/lib/pkgconfig/libgeoclue-2.0.pc
      /usr/lib/systemd/system/geoclue.service
      /usr/lib/sysusers.d/geoclue.conf
      /usr/lib/tmpfiles.d/geoclue.conf
      /usr/share/applications/geoclue-demo-agent.desktop
      /usr/share/applications/geoclue-where-am-i.desktop
      /usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml
      /usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Client.xml
      /usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Location.xml
      /usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.Manager.xml
      /usr/share/dbus-1/interfaces/org.freedesktop.GeoClue2.xml
      /usr/share/dbus-1/system-services/org.freedesktop.GeoClue2.service
      /usr/share/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
      /usr/share/dbus-1/system.d/org.freedesktop.GeoClue2.conf
      /usr/share/gir-1.0/Geoclue-2.0.gir
      /usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Agent.html
      /usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Client.html
      /usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Location.html
      /usr/share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Manager.html
      /usr/share/gtk-doc/html/geoclue/geoclue-gclue-enums.html
      /usr/share/gtk-doc/html/geoclue/geoclue.devhelp2
      /usr/share/gtk-doc/html/geoclue/home.png
      /usr/share/gtk-doc/html/geoclue/index.html
      /usr/share/gtk-doc/html/geoclue/ix01.html
      /usr/share/gtk-doc/html/geoclue/left-insensitive.png
      /usr/share/gtk-doc/html/geoclue/left.png
      /usr/share/gtk-doc/html/geoclue/license.html
      /usr/share/gtk-doc/html/geoclue/ref-agent-dbus.html
      /usr/share/gtk-doc/html/geoclue/ref-dbus.html
      /usr/share/gtk-doc/html/geoclue/right-insensitive.png
      /usr/share/gtk-doc/html/geoclue/right.png
      /usr/share/gtk-doc/html/geoclue/style.css
      /usr/share/gtk-doc/html/geoclue/up-insensitive.png
      /usr/share/gtk-doc/html/geoclue/up.png
      /usr/share/gtk-doc/html/libgeoclue/GClueClient.html
      /usr/share/gtk-doc/html/libgeoclue/GClueClientProxy.html
      /usr/share/gtk-doc/html/libgeoclue/GClueLocation.html
      /usr/share/gtk-doc/html/libgeoclue/GClueLocationProxy.html
      /usr/share/gtk-doc/html/libgeoclue/GClueManager.html
      /usr/share/gtk-doc/html/libgeoclue/GClueManagerProxy.html
      /usr/share/gtk-doc/html/libgeoclue/GClueSimple.html
      /usr/share/gtk-doc/html/libgeoclue/annotation-glossary.html
      /usr/share/gtk-doc/html/libgeoclue/ch01.html
      /usr/share/gtk-doc/html/libgeoclue/ch02.html
      /usr/share/gtk-doc/html/libgeoclue/ch03.html
      /usr/share/gtk-doc/html/libgeoclue/ch04.html
      /usr/share/gtk-doc/html/libgeoclue/ch05.html
      /usr/share/gtk-doc/html/libgeoclue/home.png
      /usr/share/gtk-doc/html/libgeoclue/index.html
      /usr/share/gtk-doc/html/libgeoclue/ix01.html
      /usr/share/gtk-doc/html/libgeoclue/left-insensitive.png
      /usr/share/gtk-doc/html/libgeoclue/left.png
      /usr/share/gtk-doc/html/libgeoclue/libgeoclue-gclue-enums.html
      /usr/share/gtk-doc/html/libgeoclue/libgeoclue.devhelp2
      /usr/share/gtk-doc/html/libgeoclue/license.html
      /usr/share/gtk-doc/html/libgeoclue/right-insensitive.png
      /usr/share/gtk-doc/html/libgeoclue/right.png
      /usr/share/gtk-doc/html/libgeoclue/style.css
      /usr/share/gtk-doc/html/libgeoclue/up-insensitive.png
      /usr/share/gtk-doc/html/libgeoclue/up.png
      /usr/share/man/man5/geoclue.5.gz
      /usr/share/vala/vapi/libgeoclue-2.0.deps
      /usr/share/vala/vapi/libgeoclue-2.0.vapi
      

        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:
            xavi-b xavi-b
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes