【问题标题】:Cannot find Qt5 for configuring with Cmake找不到用于使用 Cmake 进行配置的 Qt5
【发布时间】:2013-11-06 16:13:49
【问题描述】:

我正在尝试使用需要使用 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 目录,但我不知道如何解决这个问题。希望你能帮帮我。

谢谢,

艾伦

【问题讨论】:

  • 谢谢,这就是问题所在!愚蠢的我.... :-)

标签: qt cmake mingw paraview


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-05-12
    • 2016-10-27
    • 2018-05-18
    • 2020-04-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多