Thanks Maurice for your reply,

Yes I was referring to a classical widget app running on windows desktop.

So I will wait a bit for that, seems difficult to manage since app is running on a variety of Windows versions, including not so few XP users... BTW that is limiting a lot distribution on window's tablets like Surface, isn't it? I hope one day it will be as easy as it is on Android and iOS...

Philippe.

Le 02-06-2016 08:56, Maurice Kalinowski a écrit :
Hi,

I assume that you are referring to classic apps when you talk about Windows 10?

WinRT covers Windows Store Apps, meaning in case you have a universal
app, then Qt Positioning is supported, given that the Broadcom chip
works properly. But that is a driver thing.

In case you want to develop a classic / desktop app, you could try
https://codereview.qt-project.org/#/c/159330/ This enables the WinRT
Geolocation API for desktop builds in 5.7. However, this has
implications on the versions of Windows you can run this application
on and potentially have additional requirements.

For full "classic" desktop applications there was no unifying API and
makers have always provided separate SDKs for those chips. Hence
GeoLocation is a huge step into the right direction.

BR,
Maurice


-----Original Message-----
From: Interest [mailto:interest-bounces+maurice.kalinowski=qt.io@qt-
project.org] On Behalf Of maitai
Sent: Thursday, June 2, 2016 6:09 AM
To: [email protected]
Subject: [Interest] QGeoPositionInfoSource on Windows 10

Hello,

I can read here http://doc.qt.io/qt-5/qtpositioning-index.html

"Currently the API is supported on Android, iOS, OS X, Linux (using GeoClue
version 0.12.99), Windows (with GPS receivers exposed as a serial port
providing NMEA sentences), and WinRT (using
Windows.Devices.Geolocation)."

Question 1: Does it means there is no way so far to use an internal GPS on windows 10? I have a user with a Samsung tablet/Windows 10 equipped with
broadcom GNSS 4752 / Global Navigation Satellite System (GNSS) who is
asking why it doesn't work like on Android or iOS...


When I try QGeoPositionInfoSource on my Windows 10 machine (no gps
internal nor external), I see these messages in the console:

Available position sources: ("serialnmea", "geoclue")
serialnmea: No known GPS device found. Specify the COM port via
QT_NMEA_SERIAL_PORT.
positioning method: All methods
minimum update interval (pos)= 1000
Failed to create Geoclue client interface. Geoclue error:
org.freedesktop.DBus.Error.Disconnected

Question 2: Does it means there is a way to use Geoclue on windows?

Thanks
Philippe Lelong
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to