【发布时间】: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 目录,但我不知道如何解决这个问题。希望你能帮帮我。
谢谢,
艾伦
【问题讨论】:
-
谢谢,这就是问题所在!愚蠢的我.... :-)