Qt Forum

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

    Accessing GPS device from qt desktop(windows) App

    3rd Party Software
    2
    2
    3664
    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.
    • N
      newtolinux last edited by

      Hi...I want develop a qt desktop application which uses the external gps device attached to my desktop(windows xp). My question is can i access the device from a desktop app( I wanted to use qtmobility apis). How qt knows what type of gps it is?or on which ports they are connected.? Will qt handle all these issues sothat i can directly use the apis irrespective of device type ,vendor and type of interface to my desktop.

      1 Reply Last reply Reply Quote 0
      • T
        tony last edited by

        Hi,

        I'm not an expert in this thing, but I think you should use "QNmeaPositionInfoSource":http://doc.qt.nokia.com/qtmobility-1.1.0-beta/qnmeapositioninfosource.html and use, as QIODevice, "QExtSerialPort":http://qextserialport.sourceforge.net/

        Once I wrote a GPS application, but I parsed NMEA sentences by myself, cause at that time there was no QtMobility. QExtSerialPort works fine, as long as your GPS is seen on your desktop as a COM device (virtual or not).

        Tony.

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