From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.

QGeoPositioning on OS X

  • Hi guys,

    it's possible to read positioning/satellite info from Qt on OSX?
    At the moment

    int main(int argc, char *argv[])
        QGuiApplication app(argc, argv);
        qDebug() << "Position Sources: " << QGeoPositionInfoSource::availableSources();
        qDebug() << "Satellite Sources: " << QGeoSatelliteInfoSource::availableSources();
        return app.exec();

    In that case I get both position sources and satellite sources lists empty.

    I'm using Qt 5.5.0 installed by installer.
    Should I build something (or all Qt sources) or is not possible to use it from OS X?

    The alternative way is to implement my source classes using Native API

    Thanks in advance

  • Lifetime Qt Champion


    AFAIK, there's no backend currently for OS X, so you could write it and submit for inclusion :)

  • Hi,

    I was able to build the iOS plugin for OSX and it works.

  • Lifetime Qt Champion

    Then you can use that knowledge to add OS X to the backend list

Log in to reply