Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
HTML5 Geolocation in QtWebEngine on Ubuntu 18.04
Yakov Eremin last edited by Yakov Eremin
I have a USB U-Blox 7 dongle, installed gpsd, gpsd-client and geoclue, Qt 5.12.
It works nice with OpenCPN, cgps, and don't works with recommended "WebEngine Widgets Maps Example". BTW, Firefox and Chrome also unable to use it.
How to check is it Qt issue or wrong settings of gpsd/OS?
to check if geoclue is working properly simply test if it delivers a position: https://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html#example-usage