Kubuntu 中的 KF5 初始化包

Kubuntu 中的 KF5 初始化包

我尝试Konsole从源代码安装,但运行“CMake”后出现以下错误:

Could NOT find KF5Init (missing: KF5Init_DIR)
Could NOT find KF5Init: found neither KF5InitConfig.cmake nor kf5init-config.cmake 

但没有这样的包可供安装:libkf5init-dev

答案1

cmake 文件由软件包提供kinit-dev

/usr/lib/x86_64-linux-gnu/cmake/KF5Init/KF5InitConfig.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5Init/KF5InitConfigVersion.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5Init/KF5InitMacros.cmake
/usr/lib/x86_64-linux-gnu/cmake/KF5Init/kde5init_dummy.cpp.in

$ sudo apt install kinit-dev

相关内容