read this: https://doc.qt.io/qt-5/qtwebengine-features.html#html5-geolocation
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
@jsulm many thanks. Yes libgpsmm.h is ok, but the man page you pointed to also references libQgpsmm.
No one has replied