Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
QtPositioning/QGeoPositionInfoSource
✓ #include <QtPositioning/QGeoPositionInfoSource>
Start receiving GPS position updates
#include <QtPositioning/QGeoPositionInfoSource>
#include <QCoreApplication>
#include <QDebug>
int main(int argc, char *argv[]) {
QCoreApplication app(argc, argv);
QGeoPositionInfoSource *source = QGeoPositionInfoSource::createDefaultSource(nullptr);
if (source) {
source->startUpdates();
qDebug() << "Position updates started";
}
return app.exec();
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.