This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Description
When I want to build and pass -DMBGL_WITH_QT=ON to cmake, cmake fails with
CMake Error at /usr/lib/cmake/Qt5Gui/Qt5Gui_QPbfPlugin.cmake:4 (_populate_Gui_plugin_properties):
_populate_Gui_plugin_properties Macro invoked with incorrect arguments for
macro named: _populate_Gui_plugin_properties
Call Stack (most recent call first):
/usr/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:240 (include)
platform/qt/qt.cmake:3 (find_package)
CMakeLists.txt:1037 (include)
When I pass -DMBGL_WITH_QT=OFF, cmake succeeds.
Complete cmake call:
cmake \
-DBUILD_TESTING=OFF\
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR=lib \
-DMBGL_WITH_CORE_ONLY=OFF \
-DMBGL_WITH_COVERAGE=OFF \
-DMBGL_WITH_OPENGL=ON \
-DMBGL_WITH_QT=ON \
-DMBGL_WITH_RTTI=ON \
-DMBGL_WITH_SANITIZER=OFF \
-DMBGL_WITH_WERROR=OFF \
.
Platform: Artix GNU/Linux (rolling release), gcc version: 13.1.1, cmake version: 3.26.4.
Mapbox SDK version: git describe --tags shows maps-v1.6.0-18-gf9b8ddb804.
Regards!