VTK安装过程中遇到的问题

一只小白的进阶 2018-04-15 08:36:12
这个问题怎么解决啊!
CMake Error at GUISupport/Qt/CMakeLists.txt:72 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5" with any of
the following names:

Qt5Config.cmake
qt5-config.cmake

Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
...全文
1513 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
oKaiGe12 2018-07-12
  • 打赏
  • 举报
回复
找到有Qt5Config.cmake 或者 qt5-config.cmake的文件路径,拷入Qt5_DIR那项对应的value里

427

社区成员

发帖
与我相关
我的任务
社区描述
非技术问题的乐园
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧