setup_ubuntu.sh Can't install requrements on ubuntu 22.04

Issue #623 new
bjwest created an issue

I’m using the latest Neon Linux with Ubuntu 22.04 base. When I run setup_ubuntu.sh, I get the following error:

Package python3-pyqt4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python3-pyqt4' has no installation candidate
E: Unable to locate package python-shapely

Qt4 security support ended over six years ago, Qt5 was released over eight years ago, and Qt6 just over two years ago. Why are you still using Qt4?

Any idea how I can compile and use FlatCAM on Ubuntu 22.04?