Debian still has QWT 6.0.0, that still works with QGIS.
You probably want to backport these upstream commits that deal with this issue:
https://github.com/qgis/QGIS/commit/3752be66783790cdeac5479c6961bdfa6ec953f9 https://github.com/qgis/QGIS/commit/2589b1a7dd3a203e147317e4f90b90886cb87df8
Debian still has QWT 6.0.0, that still works with QGIS.
You probably want to backport these upstream commits that deal with this issue:
https:/ /github. com/qgis/ QGIS/commit/ 3752be66783790c deac5479c6961bd fa6ec953f9 /github. com/qgis/ QGIS/commit/ 2589b1a7dd3a203 e147317e4f90b90 886cb87df8
https:/