Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Accessing GPS device from qt desktop(windows) App
QtWS25 Last Chance

Accessing GPS device from qt desktop(windows) App

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 2 Posters 3.9k 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.
  • N Offline
    N Offline
    newtolinux
    wrote on 2 Nov 2010, 09:17 last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tony
      wrote on 2 Nov 2010, 13:31 last edited by
      #2

      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
      0

      2/2

      2 Nov 2010, 13:31

      • Login

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