"ui_pqExportStateWizard.h" is always included with development install when it also depends on Python
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The file "Qt/Components/CMakeLists.txt" has this block of code:
if(PARAVIEW_INSTALL_DEVELOPMENT_FILES)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ui_pqExportStateWizard.h"
DESTINATION "${VTK_INSTALL_INCLUDE_DIR}")
endif()
And it should be this:
if(PARAVIEW_INSTALL_DEVELOPMENT_FILES AND PARAVIEW_ENABLE_PYTHON)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ui_pqExportStateWizard.h"
DESTINATION "${VTK_INSTALL_INCLUDE_DIR}")
endif()
This is because of the block of code several lines above:
if(PARAVIEW_ENABLE_PYTHON)
...
LIST(APPEND Module_UI_FILES
Resources/UI/pqImageOutputInfo.ui
Resources/UI/pqExportStateWizard.ui
)
endif()
This was spotted with the building script makeParaView4 that is used in OpenFOAM: https://github.com/OpenFOAM/ThirdParty-dev/#buiding-paraview-431