2016-06-09 61 views
0

我正在嘗試在qt5上安裝大理石,並且我遵循以下步驟:https://marble.kde.org/sources.php 但是,在安裝qt大理石時出現這些錯誤版。任何想法如何獲得Qt5ScriptConfig.cmake包?爲qt5安裝大理石時出錯:找不到包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. 

回答

3

安裝qtscript5-dev的應該修復它。