Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved How to I use GPS in Qt?

    Mobile and Embedded
    3
    6
    1574
    Loading More Posts
    • 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.
    • Aras
      Aras last edited by

      I have a GPS and the unit is showing up in Linux and xgps is able to connect to it and use it. What do I need to do to access GPS api in qt? I tried installing gypsy libraries and reconfiguring the project, however in the configure output I see no:

      Qt Location:
        Gypsy GPS Daemon ....................... no
        WinRT Geolocation API .................. no
      

      I am using Ubuntu 16.04. Can anyone point me in the right direction?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Maybe a silly question but did you install the development package fro Gypsy ?

        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 Reply Quote 1
        • Aras
          Aras last edited by

          Yes I installed the dev and any other packages with the name gypsy in it. Any ideas what else I need to do?

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Are you configuring that module by hand or through the configure script ?

            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 Reply Quote 0
            • Aras
              Aras last edited by

              I am preparing Qt for build by running the configure script against the latest source code (Qt5.9.0). The section I mentioned in my original post was from the output of confgure script.

              jsulm 1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @Aras last edited by

                @Aras Add -v parameter to configure then you will see what exactly is missing (in the configure output/log).

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post