Thank you for your quick reply! Will the SIP v4 documentation be more
complete than the existing documentation? Do you have any idea when it
will be ready?


Jahn Otto


-----Original Message-----
From: Phil Thompson [mailto:[EMAIL PROTECTED] 
Sent: 11. januar 2004 12:07
To: Jahn Otto N�sgaard Andersen; [EMAIL PROTECTED]
Subject: Re: [PyKDE] Using SIP to create python versions of C++ QWidget
subclasses


On Sunday 11 January 2004 10:50 am, Jahn Otto N�sgaard Andersen wrote:
> 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! :-)

Until I finish the documentation for SIP v4 your best bet is to pick a
PyQt 
class that is similar to your new one and see how that does it. Then ask

specific questions on this mailing list.

Phil


_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to