The easiest way is to find a GPS which supports the NMEA 0183 standard. A large number of them do, so if your application supports that you can just use something like QextSerialPort or similar to talk to them.