为 qt5 安装 marble 时出错:找不到软件包 Qt5ScriptConfig.cmake



我正在尝试在 ubuntu 上为 qt5 安装 marble 并按照以下步骤操作:https://marble.kde.org/sources.php但是,我在安装 qt 大理石版本时收到这些错误。知道如何获取Qt5ScriptConfig.cmake软件包吗?

命令行输出:

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

安装 qtscript5-dev 应该可以修复它。

相关内容

  • 没有找到相关文章

最新更新