building paraview with qt5 under OpenFOAM
When configuring paraview source it seems to corrupt vtkm/vtk-m/lib/cmake/paraview-5.5/vtkm/VTKmConfig.cmake. The line
set(VTKm_VERSION_FULL "
never gets terminated - instead it seems to have some terminal output in it.
This might be because OpenFOAM puts the paraview sources in a directory with its own .git/ in it? The workaround was to
-
fix the line: set(VTKm_VERSION_FULL "5.5.0")
-
and go to the top level directory and do cmake from there:
cmake ../../../ParaView-v5.5.0 make
-
FYI. I wanted to compile with qt5. On OpenSUSE you can install the all qt5 development files in one go with
zypper install patterns-openSUSE-devel_qt5
If you don't use this you'll spend forever hunting one package after the other.