[PyKDE] How can sipClass_XXX be null ?

Phil Thompson phil at river-bank.demon.co.uk
Fri Jul 13 11:29:40 BST 2001


Olivier Fresse wrote:
> 
> Hi All,
> 
> As I'm still trying to use my wrapped objects in an embedded python
> interpreter, I realized that my sipClass_<MyObject> was null...
> Then I found that sipClass_QString was null also !
> 
> What have I missed ? A link issue ?
> By the way, how those sipClass_XXX  are initialized ?

The sipClass_* values get initialised by sipRegisterClasses(). This is
called as the last line of the Python script that SIP generates - look
at qt.py. This eventally calls the SIP library function of the same name
to do the actual initialisation.

Phil




More information about the PyQt mailing list