[PyKDE] Existing C++ Object and SIP

Olivier Fresse ofresse at ptc.com
Wed Jul 11 10:13:38 BST 2001


Hi All,

I'm quite new with SIP, and I'm facing something wich should be a quite
common issue.

I've embedded python in my C++ aplication, and I've wrapped some of my
business objects
to python with SIP. Please note that those objects are only extending
QObject, they are not
GUI elements.

My problem is : How can I create a PyObject from a pointer to an
existing object ?

I've try sipMappCppToSelf(...), which gives me an FPE exception. And
I've looked in
this mailing list, but I couldn't find an example of what I'm looking
for.

Thanks,

Olivier.








More information about the PyQt mailing list