Dear All,
We are trying to start with QT some application with GPS
The application is working fine
but when we try to location code to the application we get this error "Could not start application: General OS-related error"
it happen when we add this code
locationA = QGeoPositionInfoSource::createDefaultSource(this);
if (!locationA) {
ui->label->setText("location fail");
}
else
{
ui->label->setText("location ok");
locationA->setUpdateInterval(15000);
connect(locationA, SIGNAL(positionUpdated(QGeoPositionInfo)),
this, SLOT(positionUpdated(QGeoPositionInfo)));
locationA->startUpdates();
}
Kindly advice



