[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Incremental building using sip?
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2000-10-28 21:26:12
[Download RAW message or body]

Ted Drain wrote:
> 
> Here's my situation:
> I have PyQt (2.1) built and everything is working fine.  I have my own C++
> Qt classes (my classes inherited from Qt widgets) that I want available
> from Python.
> 
> Is there any way to run sip in an incremental fashion to just create the
> interface code for my classes w/o rebuilding all of PyQt?  When I try to do
> this, the fact that my class includes (needs) Qt classes causes sip to
> generate code for those classes as well.
> 
> Any help is greatly appreciated.

Look at the SIP files for PyKDE - they do exactly this. The key bit is
to %Import the Qt SIP files, don't %Include them.

Phil


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic