哪个 Gentoo 软件包提供了 Qt5CompositorConfig.cmake?

哪个 Gentoo 软件包提供了 Qt5CompositorConfig.cmake?

我想编译然后安装夏威夷来自源代码,但我陷入了编译绿岛(夏威夷的依赖项)来自源代码阶段。我使用以下命令创建了源代码目录的 build 子目录mkdir build并运行:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr

但这给出了错误:

CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:26 (find_package):
  Could not find a package configuration file provided by "Qt5Compositor"
  with any of the following names:

    Qt5CompositorConfig.cmake
    qt5compositor-config.cmake

  Add the installation prefix of "Qt5Compositor" to CMAKE_PREFIX_PATH or set
  "Qt5Compositor_DIR" to a directory containing one of the above files.  If
  "Qt5Compositor" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:60 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/fusion809/Programs/Hawaii/greenisland-0.6.0/build/CMakeFiles/CMakeOutput.log".

这里是我的日志文件(/home/fusion809/Programs/Hawaii/greenisland-0.6.0/build/CMakeFiles/CMakeOutput.log)。

我将此错误解释为我的系统中缺少 Qt5CompositorConfig.cmake。我需要合并什么 Portage ebuild 才能获得这个库?如果相关的话,我正在研究 Sabyon Linux。

答案1

我自己弄清楚了,我有dev-qt/qtwayland安装了,但我需要启用 wayland-compositor USE 标志才能获取这个库。一旦我这样做了,我就成功地完成了《绿岛》的编译。

相关内容