diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2018-05-19 21:23:48 +0300 |
---|---|---|
committer | Volker Krause <volker.krause@kdab.com> | 2018-08-16 15:40:40 +0000 |
commit | f0472774b36c862f5fb6822f2d4d63a967d1eaec (patch) | |
tree | 3b0365e6b48637ec8f946b6e9dee5f8fb890919e /src/plugins/position/position.pro | |
parent | 77556ab2fbb808a45e401e039820641e94f4fcb9 (diff) | |
download | qtlocation-f0472774b36c862f5fb6822f2d4d63a967d1eaec.tar.gz |
Long live for the geoclue2 position plugin
Geoclue2 requires the appropriate application's desktop id,
to allow an access to the location service.
This desktop id should be added to the /etc/geoclue/geoclue.conf
file, e.g.:
[my-app]
allowed=true
system=true
users=
Also, this desktop id should be imported to the Geoclue2
application via the QT_GEOCLUE_APP_DESKTOP_ID environment
variable, e.g.:
export QT_GEOCLUE_APP_DESKTOP_ID=my-app
Note: Tested on stationar PC with the ArchLinux.
Task-number: QTBUG-43435
Done-with: Volker Krause <vkrause@kde.org>
Change-Id: I5cc204cca966cb23a59ccffbc83fd8dc7a7c4eb6
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/plugins/position/position.pro')
-rw-r--r-- | src/plugins/position/position.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro index b9832ff4..4453b8a3 100644 --- a/src/plugins/position/position.pro +++ b/src/plugins/position/position.pro @@ -3,6 +3,7 @@ TEMPLATE = subdirs QT_FOR_CONFIG += positioning-private qtHaveModule(dbus):SUBDIRS += geoclue +qtHaveModule(dbus):SUBDIRS += geoclue2 qtConfig(gypsy):SUBDIRS += gypsy qtConfig(winrt_geolocation):SUBDIRS += winrt qtHaveModule(simulator):SUBDIRS += simulator |