2

我正在尝试在 ubuntu 上为 qt5 安装大理石,我正在按照以下步骤操作:https ://marble.kde.org/sources.php 但是,在安装 qt marble 版本时出现这些错误。知道如何获取 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.
4

1 回答 1

9

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

于 2016-06-15T07:27:54.573 回答