I have now basically extracted the .cpp and build a separate .so. That has the typeinfo information. But obviously that causes yet another issue.
ImportError: /home/skinkie/Sources/reproduced/build2/bindings2/pyqmaplibre.so: undefined symbol: _ZN6PySide18initQObjectSubTypeEP11_typeobjectP7_objectS3_