CMake Error at /usr/local/include/geant4-10-05/install/lib/Geant4-10.5.1

I get these following errors during build of a file using CMake:

CMake Error at /usr/local/include/geant4-10-05/install/lib/Geant4-10.5.1/Geant4Config.cmake:448 (find_package):
Could not find a package configuration file provided by “Qt5Core” with any
of the following names:


Add the installation prefix of “Qt5Core” to CMAKE_PREFIX_PATH or set
“Qt5Core_DIR” to a directory containing one of the above files. If
“Qt5Core” provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:14 (find_package)

Anybody know how to solve this? Thanks in advance

1 Like

Hi !

check if libqt5core5a is installed.


1 Like

Also check whereis qt5 using cmd.

1 Like

With the help of this link :point_down:

problem Solved!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.