Qt Positioning Serial NMEA plugin


Included with Qt Location is a position plugin which parses NMEA sentences streamed over a serial port into position updates.

This plugin can be loaded by using the provider name serialnmea.


The following table lists parameters that can be passed to the serialnmea plugin.

serialnmea.serial_portThe serial port where the NMEA stream is coming.

Parameter Usage Example

The following examples show how to create a serialnmea PositionSource listening on a specific serial port


PositionSource {
    name: "serialnmea"
    PluginParameter { name: "serialnmea.serial_port"; value: "tnt1" }


QVariantMap params;
params["serialnmea.serial_port"] = "tnt1";
QGeoPositionInfoSource *positionSource = QGeoPositionInfoSource::createSource("serialnmea", params, this);

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.