See https://github.com/Maproom/qmapshack/issues/333. The proj.4 API has been deprecated two years ago, and removed in proj8.