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

Static build #77

Closed
wecand0 opened this issue Dec 13, 2023 · 2 comments · Fixed by #98
Closed

Static build #77

wecand0 opened this issue Dec 13, 2023 · 2 comments · Fixed by #98

Comments

@wecand0
Copy link

wecand0 commented Dec 13, 2023

I want to have statically build application. I have qt static build, before in maplibre-native there was flag for static build MBGL_QT_STATIC in https://github.com/maplibre/maplibre-native/blob/qt-v2.0.1/platform/qt/qt.cmake
Is it possible to add this feature?
Thanks for any replays!

@ntadej
Copy link
Collaborator

ntadej commented Dec 13, 2023

If you build with Qt 6 the detection should be automatic (although full CMake support is still WIP).

For Qt 5 this will be re-added in the future.

@wecand0
Copy link
Author

wecand0 commented Dec 13, 2023

I use qt6.5.3, there is an issue (warning) in cmake also CMake Error: install(EXPORT "QMapLibreLocationPluginGeoServicesTargets" ...) includes target "qtgeoservices_maplibre" which requires target "qtgeoservices_maplibre_init" that is not in any export set.

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

Successfully merging a pull request may close this issue.

2 participants