PySide6.QtPositioning¶
G |
|||
N |
Detailed Description¶
The Qt Positioning API provides positioning information via QML and Python interfaces.
Currently the API is supported on Android, iOS, macOS, Linux, and Windows (with
GPS receivers exposed as a serial port providing NMEA sentences or using
Windows.Devices.Geolocation
).
Overview¶
The Qt Positioning API gives developers the ability to determine a position by using a variety of possible sources, including satellite, or wifi, or text file, and so on. That information can then be used to for example determine a position on a map. In addition satellite information can be retrieved and area based monitoring can be performed.
Using the Module¶
To include the definitions of modules classes, use the following directive:
import PySide6.QtPositioning
The module also provides QML types .
To load the Qt Positioning module, add the following statement to your .qml files
import QtPositioning
Articles and Guides¶
Positioning introduction for C++
Positioning introduction for QML
© 2022 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.