我已经使用以下命令从 GitHub下载了KanColleTool存储库:
git clone --recursive https://github.com/KanColleTool/KanColleTool.git KanColleTool.git
但是当我运行时:
cmake -DCMAKE_INSTALL_PREFIX=/usr
...有时候是这样的:
CMake Error at viewer/src/CMakeLists.txt:28 (find_package):
By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5WebKitWidgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5WebKitWidgets"
with any of the following names:
Qt5WebKitWidgetsConfig.cmake
qt5webkitwidgets-config.cmake
Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
files. If "Qt5WebKitWidgets" provides a separate development package or
SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/zmaj/KanColleTool.git/CMakeFiles/CMakeOutput.log".
使用安装开发库
要得到
cmake -DCMAKE_INSTALL_PREFIX=/usr
重新开始示例输出