Laurent Claustre wrote:
> 
> OK,
> the failed instance is "whatsThisCursor" and from within
> registerClasses() instance is Qt::whatsThisCursor.
> this is the output:
> Python 2.1.1c1 (#13, Jul 23 2001, 11:03:24)
> [GCC 2.95.2 19991024 (release)] on hp-uxB
> Type "copyright", "credits" or "license" for more information.
> >>> import qt
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> qApp
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> null
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> nbsp
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> byteOrderSwapped
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> byteOrderMark
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> replacement
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> null
> laurentDebugging in siplib.c:sipAddClassInstances(), ci->ci_name =
> whatsThisCursor
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "qt.py", line 935, in ?
>     libqtc.sipRegisterClasses()
> RuntimeError: Attempt to create a Python instance for a NULL pointer

That's the first QCursor. Try commenting out that entry in the table in
qtcmodule.cpp to see if the problem is whatsThisCursor (ie. the problem
goes away), or QCursors in general (in which case it will fail at
forbiddenCursor).

Can you try some C++ experiments taking the address of
Qt::whatsThisCursor?

I'm away for a few days and won'e be able to reply until the weekend.

Phil

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

Reply via email to