Failed to find Qt5 component "Svg"
When doing a source build of Paraview, I ran
cmake ../paraview
and got error
CMake Warning at VTK/CMake/vtkModule.cmake:4774 (find_package):
Found package configuration file:
/opt/qt514/lib/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 "Svg" config file at
"/opt/qt514/lib/cmake/Qt5Svg/Qt5SvgConfig.cmake"
Call Stack (most recent call first):
Qt/ApplicationComponents/CMakeLists.txt:344 (vtk_module_find_package)
CMake Error at VTK/CMake/vtkModule.cmake:4780 (message):
Could not find the Qt5 external dependency.
Call Stack (most recent call first):
Qt/ApplicationComponents/CMakeLists.txt:344 (vtk_module_find_package)
I have got Ubuntu 18.04.6 LTS and tried to build it according to this https://www.paraview.org/Wiki/ParaView:Build_And_Install