This should hopefully prevent #321 from occurring in automatically built packages. This is a temporary measure that should be reversed when pyside2 5.15.1 is released as it should include fix for the problem.
This fixes compatibility issues with Debian Buster and Ubuntu Eoan.