为qt5安装大理石时出错:无法找到包Qt5ScriptConfig.cmake

时间:2016-06-09 15:50:42

标签: qt5 marble

我正在尝试在ubuntu上为qt5安装大理石,我正在按照这里的步骤进行操作: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.

1 个答案:

答案 0 :(得分:5)

安装qtscript5-dev应该修复它。