Skip to content

Failed to build, error at /lib/QHotkey/CMakeLists.txt (find_package) (i just need some help) #84

@Kakoks

Description

@Kakoks

Void Linux
Qt 6.4.2

So i have been trying to build albert and it requires QHotkey, trying to build albert there is an error when i run the first cmake, shows this:

[void@VOID albert]$ cmake -B build -S . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
CMake Error at lib/QHotkey/CMakeLists.txt:16 (find_package):
By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt6", but
CMake did not find one.

Could not find a package configuration file provided by "Qt6" (requested
version 6.2.0) with any of the following names:

Qt6Config.cmake
qt6-config.cmake

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

-- Configuring incomplete, errors occurred!
See also "/home/void/albert/build/CMakeFiles/CMakeOutput.log".

From now on i don't really know what to do, i asked on the albert discord and they suggested me that i should talk here for more info, this is just a post looking for help for a noob.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions