Compilation fails with python 3.7
In file Qt/Python/pqPythonSyntaxHighlighter.cxx
, PyUnicode_AsUTF8
returns a const char*
, see https://docs.python.org/3/whatsnew/3.7.html#c-api-changes, https://bugs.python.org/issue28769, and the vtk fix vtk/vtk@706f1b39
In order to successfully compile paraview I need to both backport that vtk fix into paraview's copy, and modify pqPythonSyntaxHighlighter.cxx to similarly cast PyUnicode_AsUTF8(resultingText)