QMake executable is not being set in ParaView/CMake/UseParaView.cmake
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Reported by Jim.Eliot@awe.co.uk on the paraview mailing list:
I am trying to build a file reader plugin against ParaView 4.2.0 and have been experiencing some difficulties. Qt is not found by cmake during the build process causing it to fail.
To illustrate the issue, I created the following simplified CMakeLists.txt file:
CMAKE_MINIMUM_REQUIRED
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})
When I call cmake with ParaView_DIR pointing at my 4.1.0 build Qt is found, but with 4.2.0 Qt is NOT found.
ParaView was built using Superbuild and Qt was built as part of that process. Should Qt be detected from ParaViewConfig.cmake?
Is this a change in behaviour between 4.1.0 and 4.2.0? Do I somehow need to specify the location of Qt manually?