Typo in the name mangling of the bundled freetype causes name conflicts in static linking
There seems to be a typo in the name mangling of freetype coming with VTK.
Specifically, line 318 of ThirdParty/freetype/vtkfreetype/include/vtk_freetype_mangle.h
reads:
#define vtkfreetype_FT_MulFix vtkfreetype_vtkfreetype_FT_MulFix
The particular define seems to not have the desired effect of decorating the name of FT_MulFix and it causes issues when linking both Qt and VTK statically, since Qt does not perform mangling at all.
Changing the above line to the following fixes the issue for me:
#define FT_MulFix vtkfreetype_FT_MulFix
Edited by Nasos Iliopoulos