Skip to content

cmake 报KF5Plasma相关错误 #6

Description

@SuGuoQi

报错内容

CMake Error at CMakeLists.txt:8 (find_package):
By not providing "FindKF5Plasma.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"KF5Plasma", but CMake did not find one.
Could not find a package configuration file provided by "KF5Plasma" with
any of the following names:
KF5PlasmaConfig.cmake
kf5plasma-config.cmake
Add the installation prefix of "KF5Plasma" to CMAKE_PREFIX_PATH or set
"KF5Plasma_DIR" to a directory containing one of the above files. If
"KF5Plasma" provides a separate development package or SDK, be sure it has
been installed.

解决办法

sudo apt install libkf5plasma-dev

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