-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
I wanted to configure to build maplibre libraries as part of my project source tree using cmake fetch content.
set(FETCHCONTENT_QUIET OFF)
include(FetchContent)
FetchContent_Declare(
maplibre
GIT_REPOSITORY https://github.com/maplibre/maplibre-native-qt
GIT_TAG main
)
find_package(Qt6 REQUIRED COMPONENTS Quick REQUIRED)
qt_standard_project_setup(REQUIRES 6.8)
if(QT_KNOWN_POLICY_QTP0002)
qt_policy(SET QTP0002 NEW)
endif()
add_executable(app
main.cpp
)
qt_add_qml_module(
app
URI MyApp
VERSION 1.0
RESOURCE_PREFIX "/"
QML_FILES
Main.qml
)
target_link_libraries(
app
PRIVATE
Qt::Quick
QMapLibre::Location
)
I have these errors while building::
[build] /maplibre_qt/build/_deps/maplibre-build/src/core/include/QMapLibre/StyleParameter:1:10: fatal error: style_parameter.hpp: No such file or directory
[build] 1 | #include "style_parameter.hpp"
Could you help me with this please
Thanks
zernoff21
Metadata
Metadata
Assignees
Labels
No labels