[PyKDE] Speeing up source file creation when using SIP with PyQt/PyKDE

Phil Thompson phil at riverbankcomputing.co.uk
Tue Feb 20 15:23:40 GMT 2007


On Tuesday 20 February 2007 2:28 pm, Paul Giannaros wrote:
> I'm creating bindings for a module in KDE (not included in PyKDE). While
> things work fine, running sip on the .sip file takes a long time on my
> machine -- ~15 seconds. It looks like it's processing all of the Qt/KDE sip
> stuff each time. I don't fully understand the sip system, but is there a
> way I can stop it doing so, and just process my single one? None of the
> arguments to `sip` look promising, neither does a quick search of the
> documentation help.

You could %Import only the specific .sip files you need - but you'll probably 
end up %Importing most of them anyway. 15 seconds isn't very long.

Phil




More information about the PyQt mailing list