Hy, guessing you updated to Bullseye ?
Did you try to install Bullseye's version of libqt5pas-dev and well as the actual library ? All you should need is
su -c "apt install libqt5pas-dev"
If that is not working, it would be nice to know why not ....
Davo