CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] makeParaView fails with Could NOT find Qt5Help with ThirdParty-2206 (https://www.cfd-online.com/Forums/openfoam-installation/245403-makeparaview-fails-could-not-find-qt5help-thirdparty-2206-a.html)

RobbieTheK October 4, 2022 11:48

makeParaView fails with Could NOT find Qt5Help with ThirdParty-2206
 
We have Qt 5.15.2 installed as a module and loaded at
Code:

/opt/Qt/5.15.2
Code:

./makeParaView  -cmake -qmake -qt-5.15.2
fails with:
Code:

-- Could NOT find Qt5Help (missing: Qt5Help_DIR)
CMake Warning at VTK/CMake/vtkModule.cmake:4365 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "Help" config file at
  "/usr/lib64/cmake/Qt5Help/Qt5HelpConfig.cmake"

Call Stack (most recent call first):
  Qt/Widgets/CMakeLists.txt:117 (vtk_module_find_package)

CMake Error at VTK/CMake/vtkModule.cmake:4371 (message):
  Could not find the Qt5 external dependency.
Call Stack (most recent call first):
  Qt/Widgets/CMakeLists.txt:117 (vtk_module_find_package)

We have this file at:
Code:

/usr/lib64/cmake/Qt5/Qt5Config.cmake
I tried the symbols link route and end up with:
Code:

CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreConfigVersion.cmake:2 (set):
  Maximum recursion depth of 1000 exceeded
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt5Help/Qt5HelpConfig.cmake:28 (find_package)

I did set:
Code:

Qt5_DIR=/opt/Qt/5.15.2/gcc_64/lib/cmake/Qt5
Is there a work around for this?


All times are GMT -4. The time now is 18:55.