我正在尝试使用Cmake配置后处理器Paraview,这需要使用Qt。我下载了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目录,但我不知道如何解决此问题。希望你能帮助我。
谢谢,
埃伦