[QGIS-Developer] Building master with 3D on Debian testing/buster?

Richard Duivenvoorde rdmailings at duif.net
Wed Oct 3 06:31:22 PDT 2018


After some time (Debian removed some Qt 3D related package, which should
be restored now)

There is notion of this (and Juergen :-) ) in:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895386
and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895507


But now I try to rebuild QGIS with 3D again.

For what I know I installed all 3D related Qt packages, but I still get:

 CMake Error at CMakeLists.txt:336 (FIND_PACKAGE):
   By not providing "FindQt53DExtras.cmake" in CMAKE_MODULE_PATH this
project
   has asked CMake to find a package configuration file provided by
   "Qt53DExtras", but CMake did not find one.

   Could not find a package configuration file provided by "Qt53DExtras"
with
   any of the following names:

     Qt53DExtrasConfig.cmake
     qt53dextras-config.cmake

   Add the installation prefix of "Qt53DExtras" to CMAKE_PREFIX_PATH or set
   "Qt53DExtras_DIR" to a directory containing one of the above files.  If
   "Qt53DExtras" provides a separate development package or SDK, be sure it
   has been installed.

Looking into
https://packages.debian.org/buster/amd64/qt3d5-dev/filelist
 Qt53DExtrasConfig.cmake
should be installed, but I cannot find it on my disk.

I do find Qt53DExtrasConfig.cmake in the repo:

qgis/external/qt3dextra-headers/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake

But setting Qt53DExtras_DIR to there, I get:

 CMake Error at
external/qt3dextra-headers/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake:3
(set_target_properties):
   set_target_properties called with incorrect number of arguments.
 Call Stack (most recent call first):
   CMakeLists.txt:336 (FIND_PACKAGE)

Anybody a clue?
Or able to build 3D on Debian Testing?

Regards & thanks for any hint,

Richard Duivenvoorde




More information about the QGIS-Developer mailing list