[PyKDE] Using SIP to create python versions of C++ QWidget subclasses

Jahn Otto Næsgaard Andersen jotto at jotto.no
Sun Jan 11 11:51:01 GMT 2004


Hi,

I have a widget written in C++ deriving from QWidget. I'd like to make
this widget available in a python program using SIP, but I am completely
lost on how to do it.

I tried to compile the example at
http://pegasus.rutgers.edu/~elflord/unix/siptute/, but it doesn't work
(I get a linker error when I try to import the library). I suppose that
SIP has changed too much since version 3.2.x used in the example.

Can anyone point me to a location that describes how to do it? I will be
very thankful! :-)


Jahn Otto





More information about the PyQt mailing list