QWebEngineView 提供错误的地理位置坐标

QWebEngineView giving wrong geolocation coordinates

使用以下代码:

#include <QApplication>
#include <QWebEngineView>
#include <QWebEngineProfile>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QWebEngineView w;
    QObject::connect(w.page(), &QWebEnginePage::featurePermissionRequested, [&](const QUrl &securityOrigin, QWebEnginePage::Feature feature)
    {
        w.page()->setFeaturePermission(securityOrigin, feature, QWebEnginePage::PermissionGrantedByUser);
    });
    w.setUrl(QUrl("https://mycurrentlocation.net/"));
    w.show();
    return a.exec();
}

和一个 USB 加密狗连接到我的 64 位 Archlinux 系统(安装了 geoclue2 并工作),我没有得到正确的地理定位坐标(我在同一个网站上得到 Google Chrome).

法国都有,但相距200公里。

更新 1: 使用 QML 地图组件以我的位置为中心时,似乎会出现具有相同坐标的类似问题。

我需要设置什么才能正常工作吗?

问题与 Qt 无关。

/usr/lib/geoclue-2.0/demos/where-am-i

returns坐标错误。