Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGeoPositioning on OS X
QtWS25 Last Chance

QGeoPositioning on OS X

Scheduled Pinned Locked Moved General and Desktop
positioningos x
4 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mcosta
    wrote on last edited by mcosta
    #1

    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

    Once your problem is solved don't forget to:

    • Mark the thread as SOLVED using the Topic Tool menu
    • Vote up the answer(s) that helped you to solve the issue

    You can embed images using (http://imgur.com/) or (http://postimage.org/)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mcosta
        wrote on last edited by
        #3

        Hi,

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

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved