This is the error returned when I run cmake -B build -G Ninja:

Installing in /usr/local. Run /home/vehementham/haruna/build/prefix.sh to set the environment for haruna.
CMake Warning at /usr/share/ECM/kde-modules/KDEGitCommitHooks.cmake:84 (message):
  No clang-format executable was found, skipping the formatting pre-commit
  hook
Call Stack (most recent call first):
  CMakeLists.txt:33 (kde_configure_git_pre_commit_hook)


CMake Error at CMakeLists.txt:43 (find_package):
  Could not find a package configuration file provided by "QT" with any of
  the following names:

    Qt6Config.cmake
    qt6-config.cmake
    Qt5Config.cmake
    qt5-config.cmake

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


-- Configuring incomplete, errors occurred!
  • Justin
    link
    fedilink
    English
    11 year ago

    Indeed this is the fun part when compiling software. You need to find each of the packages that provide these. Depending on the distro, some provide an easy way to do this. What are you using?