[PySide] RTTI requirement for PySide2

Friedemann Kleint Friedemann.Kleint at qt.io
Mon Sep 17 08:46:37 CEST 2018


Hi,

 >Hello, we have a large Qt project which we would like to add python 
bindings to. At first this seemed simple with PySide2, but unfortunately 
we would have to >enable RTTI, just for PySide2. Are there any plans for 
PySide2 to remove the RTTI requirement? Perhaps using Qt's type system 
instead?

RTTI is currently used for the type discovery in the generated code; it 
cannot be easily replaced. Qt's qobject_cast only works for 
QObject-derived classes.

Regards,
Friedemann

-- 
Friedemann Kleint
The Qt Company GmbH




More information about the PySide mailing list