Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Accessing GPS device from qt desktop(windows) App
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.
tony last edited by
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).