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!
  • PureTryOut@lemmy.kde.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Again, build dependencies. Please read the error message, it tells you exactly what you’re missing.

    Note that installing from source like that is not recommended, it’s better to use your distributions package manager.

    • Username@lemmy.kde.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      It is not in the package manger. I am also very confused because it lists a ton of packages that I already have installed.

      • PureTryOut@lemmy.kde.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You’re missing the build headers of those dependencies. Depending on the distribution it’s often called something like <packagename>-dev or <packagename>-devel. And what distribution is this that doesn’t have Haruna?