I can't remember ever doing python.
This is obviously doing the wrong check.
Code:
def check_for_recent_freetype():
import ctypes
try:
f = ctypes.CDLL('libfreetype.so')
except OSError:
raise SystemExit('Your system is missing the FreeType library libfreetype.so. Try installing the freetype package.')
try:
f.FT_Get_Color_Glyph_Paint
except AttributeError:
raise SystemExit('Your system has too old a version of the FreeType library.'
' freetype >= 2.11 is needed for the FT_Get_Color_Glyph_Paint function which is required by Qt WebEngine')
I downloaded the "linux-installler.sh" and simply commented it all out (a # at the start of each line just in that listed block ("def check_for_recent_freetype():") after the "import ctypes" and then saved it and ran it and it worked.
I've no idea what it should be checking for (it's not 'libfreetype6.so'), or if the checking code is correct.