Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt Location support on Windows with MSVC #181

Closed
srcejon opened this issue Nov 4, 2021 · 4 comments
Closed

Qt Location support on Windows with MSVC #181

srcejon opened this issue Nov 4, 2021 · 4 comments

Comments

@srcejon
Copy link
Contributor

srcejon commented Nov 4, 2021

Qt Location 5 on Windows with msvc doesn't support the Mapbox GL plugin (because mapbox-gl-native couldn't be compiled with msvc. However, thanks to @dpaulat maplibre-gl-native can.). So is it possible to use maplibre-gl-native in Qt Location?

The readme in platform/qt says 'This is the foundation for the Mapbox GL plugin' - but it doesn't appear to be the plugin itself. Qt seems to want qtgeoservices_mapboxql.dll, but QMapboxGL.dll is built (which doesn't include qt_plugin_instance so doesn't appear to be a plugin). Any ideas how to proceed?

@srcejon
Copy link
Contributor Author

srcejon commented Nov 5, 2021

It seems Qt has a fork of mapbox-gl-native in its source tree.

With a few changes, as described here, it seems it is possible to get Qt Location to build with maplibre-gl-native.

@kiibimees
Copy link
Contributor

I recommend to switch to Qt6. There is a patch that builds also on MSVC 2019 in here, with the exception that one Boost library bug has to be applied.

Read more in this discussion: #42

@birkskyum
Copy link
Member

#469

@birkskyum
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants