I believe you have to set this on 20.04 -DQT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so -DQT5_3DEXTRA_INCLUDE_DIR=/root/QGIS/external/qt3dextra-headers -DCMAKE_PREFIX_PATH=/root/QGIS/external/qt3dextra-headers/cmake -DQt53DExtras_DIR=/root/QGIS/external/qt3dextra-headers/cmake/Qt53DExtras
https://github.com/qgis/QGIS/blob/master/.docker/docker-qgis-build.sh#L48-L51 for reference https://qgis-developer.osgeo.narkive.com/xMSz0lbQ/building-master-with-3d-on-debian-testing-buster Ciao, Denis Le lun. 4 oct. 2021 à 14:00, Alexandre Neto <[email protected]> a écrit : > Hi, > > I have been having problems compiling QGIS with 3D support on Kubuntu > 20.04. This is the CCMAKE configuration error: > > CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 > (find_package): > 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. > Call Stack (most recent call first): > CMakeLists.txt:455 (find_package) > > I have libQt53DExtras installed, but there are no configuration files like > for other QT5 libraries. I tried to follow the suggestion and add the > installation prefix to CMAKE_PREFIX_PATH as suggested, but either it does > not work, or I am doing it wrong: > > ccmake -G Ninja .. -DMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/ > > Anyone is facing similar problems? any hint? > > Thanks, > > Alexandre Neto > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
