I have a problem using QGeoPositionInfoSource (or I'm not understanding something correctly).
I'm using it as follows:
QGeoPositionInfoSource *source = QGeoPositionInfoSource::createDefaultSource(this);
If I have more than a single possible sources activated in my phone settings (i.e. A-PGS, Intergrated GPS, Network-based, Wifi based), the above code will always default to GPS I think. So if I'm indoors, positionUpdated() never gets called.
I'd expect it to fall back to other options (e.g. network-based) after a period of time if it can't use the GPS?
Is that not correct?
It works fine using network -based geolocation as long as I disable the other sources on my phone.
If I've got this wrong and in fact this is not the default behaviour, how do I achieve what I'm trying to achieve (i.e. getting it to use whatever source works)?