簡體   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