EyeDomeLighting plugin can't be built if Qt support is disabled
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Configuring ParaView 3.10.1 with -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF and -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=ON (for e.g. OSMesa server-only builds) leads to the following error
-- Plugin: EyeDomeLighting enabled CMake Error at CMake/ParaViewPlugins.cmake:635 (QT4_WRAP_CPP): Unknown CMake command "QT4_WRAP_CPP". Call Stack (most recent call first): Plugins/EyeDomeLighting/ParaViewPlugin/CMakeLists.txt:27 (ADD_PARAVIEW_AUTO_START)
This is due to Plugins/EyeDomeLighting/ParaViewPlugin/CMakeLists.txt invoking the macro ADD_PARAVIEW_AUTO_START which internally calls QT4_WRAP_CPP - which is not available in case Qt is purposely disabled.