[PyKDE] [sip] newbie questions

John J. Lee jjl at pobox.com
Tue May 14 20:59:01 BST 2002


I've got as far as getting a window to appear, with an immediate
segfault if you resize it.  However, a few problems with sip:

1. sip (3.0) seems not to like a few standard C++ declarations that I
haven't seen mentioned as being problematic: *const and virtual
destructors.  In the case of the destructors, I've just removed the
'virtual', and haven't run into any trouble resulting from this yet;
OTOH, if I remove the const from a *const return type, so that sip is
happy with it, it conflicts with the library declarations and the
generated code won't compile.  Is there a way to work around this?

2. Every time I make an small change to a sip file, make recompiles
everything, because sip regenerates all code whether it changes or
not.  Is there a way to prevent this, and if not, how has Jim Bublitz
managed to retain his sanity whilst wrapping KDE? ;)

Thanks for any help


John




More information about the PyQt mailing list