繁体   English   中英

找不到用于使用 Cmake 进行配置的 Qt5

[英]Cannot find Qt5 for configuring with Cmake

我正在尝试使用需要使用 Qt 的 Cmake 配置后处理器 Paraview。 我下载了Qt5.1.1。 并使用 MinGW 进行配置。 但是,当我尝试配置 Paraview 时,出现以下错误:

CMake Warning at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:659 (message):
 C:/Qt/Qt5.1.1/5.1.1/mingw48_32/bin/qmake.exe reported QT_INSTALL_LIBS as
 "C:/Qt/Qt5.1.1/5.1.1/mingw48_32/lib" but QtCore could not be found there.
 Qt is NOT installed correctly for the target build environment.
Call Stack (most recent call first):
  VTK/GUISupport/Qt/CMakeLists.txt:57 (find_package)


CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:664 (message):
  Could NOT find QtCore.  Check D:/ProjectServer_VIE/PARAVIEW/bin/CMakeFiles/CMakeError.log for more
 details. 
Call Stack (most recent call first): VTK/GUISupport/Qt/CMakeLists.txt:57 (find_package)

我手动将 Cmake 指向 qmake.exe 目录,但我不确定如何解决这个问题。 希望你能帮助我。

谢谢

Paraview 目前不支持 Qt5。 是正确版本的文档。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM