Hi folks,
I am migrating to Qt 6 and ran into an issue while changing the location source on MacOS. This works fine on Windows.
I do the following:
auto dataSource = new DefaultLocationDataSource(this);
dataSource->setPositionInfoSource(new MyPositionInfoSource(this));
m_mapView->locationDisplay->setDataSource(dataSource);
m_mapView->locationDisplay->start();
"MyPositionInfoSource" provides simulated data and does not touch the actual GPS.
On MacOS, I get a debug message about requiring location permissions and then it does not work. I have tried requesting permissions in the usual way, but still no luck.
Could you guys check it out?
Thanks!