Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

cmake -DMBGL_WITH_QT=ON fails with _populate_Gui_plugin_properties Macro invoked with incorrect arguments for macro named: _populate_Gui_plugin_properties. #16671

Open
dreirund opened this issue Jul 18, 2023 · 0 comments

Comments

@dreirund
Copy link

dreirund commented Jul 18, 2023

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!

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

No branches or pull requests

1 participant