Error when compiling ParaView 5.8.0-RC1 with pqChooseColorPresetReaction.cxx
When compiling Qt/ApplicationComponents/pqChooseColorPresetReaction.cxx using the ParaView superbuild for ParaView 5.8.0-RC1 and using the default version of Qt 5.9.2 compiled by the superbuild with gcc 4.8.5 on RHEL 7.7 the following error occurs
[ 99%] Building CXX object Qt/ApplicationComponents/CMakeFiles/pqApplicationComponents.dir/pqCustomShortcutBehavior.cxx.o
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/Qt/ApplicationComponents/pqChooseColorPresetReaction.cxx: In member function 'bool pqChooseColorPresetReaction::choosePreset(const char*)':
/home/joeh/PV/Build_5.8.0-RC1_mesa/superbuild/paraview/src/Qt/ApplicationComponents/pqChooseColorPresetReaction.cxx:156:53: error: no matching function for call to 'pqChooseColorPresetReaction::connect(QPointer<pqPresetDialog>&, void (pqPresetDialog::*)(const vtkJson::Value&), pqChooseColorPresetReaction* const, void (pqChooseColorPresetReaction::*)())'
&pqChooseColorPresetReaction::applyCurrentPreset);
The relevant lines where last changed by this commit
Commit a7872caf authored 1 month ago by Ben Boeckel's avatar Ben Boeckel qt: hook up mangled signal name with a function pointer
Thanks,
Joe Hennessey
Edited by Mathieu Westphal (Kitware)