[QGIS-Developer] Troubles compiling QGIS master with 3D in Ubuntu 20.04

Saber Razmjooei saber.razmjooei at lutraconsulting.co.uk
Thu May 14 04:46:27 PDT 2020


Hi Andreas,

Could you try (change /usr/local/src/QGIS_master with your path to checked
out repo):
cmake .. -DCMAKE_PREFIX_PATH=/usr/local/src/QGIS_master/external/qt3dextra-headers/cmake
-DQT5_3DEXTRA_INCLUDE_DIR=/usr/local/src/QGIS_master/external/qt3dextra-headers
-DQT5_3
DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so -G Ninja
-DWITH_3D=TRUE

Kind regards
Saber


On Thu, 14 May 2020 at 12:41, Andreas Neumann <a.neumann at carto.net> wrote:

> Hi,
>
> After upgrading from Ubuntu 18.04  to 20.04 I have now troubles
> compiling QGIS with 3D.
>
> during "ccmake -GNinja .." I get the following error message:
>
> -------------
>
> CMake Error at CMakeLists.txt:427 (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.
>
> ------------------
>
> I checked my packages and the package "libqt53dextras5" is installed,
> but it doesn't contain the requested file "Qt53DExtrasConfig.cmake".
>
> Does someone have an idea what package I might be missing or what config?
>
> Thanks,
>
> Andreas
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Saber Razmjooei
www.lutraconsulting.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200514/d38a01b7/attachment.html>


More information about the QGIS-Developer mailing list