maplibre-native-qt icon indicating copy to clipboard operation
maplibre-native-qt copied to clipboard

please update build instructions to install qt packages

Open cjbd opened this issue 8 months ago • 1 comments

hello, i'm trying to build on ubuntu 24.04 docker, the doc i'm looking at is https://maplibre.org/maplibre-native-qt/docs/md_docs_2Building.html , but first cmake step fails with below message, it seems some qt6 packages are missing, but i have no idea with one.

i've blindly installed a bunch of qt6 packages, i still can't find Qt6LocationConfig.cmake

i'll be great if qt package install can be updated to build documentation, thanks!

CMake Error at CMakeLists.txt:64 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "Location".

  Expected Config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt6Location/Qt6LocationConfig.cmake" does
  NOT exist



  Configuring with --debug-find-pkg=Qt6Location might reveal details why the
  package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.



-- Configuring incomplete, errors occurred!

cjbd avatar Apr 02 '25 01:04 cjbd

Sorry for getting to this late. @Ferenc- kindly started to improve the documentation in #204.

Note that Debian-based systems for some reason do not include all necessary private headers.

ntadej avatar Apr 26 '25 08:04 ntadej

@ntadej Is there anything else to do here?

Ferenc- avatar May 20 '25 21:05 Ferenc-