On 7/4/07, Phil Thompson <[EMAIL PROTECTED]> wrote:
You need to pass the same -t flags to your invocation of sip as were used when
you built PyQt. The following bit of Python tells you what they were...

from PyQt4 import pyqtconfig

print pyqtconfig.Configuration().pyqt_sip_flags

Without it, when building your module, SIP thinks PyQt is built for an older
version of Qt with some classes missing. You then get the mismatch in those
tables I was talking about.

Ah Ha!  That worked.  Thanks!

BTW, my confusion is partly a result of the sip documentation.  In
sipref.html, it does this:

import pyqtconfig

rather than:

from PyQt4 import pyqtconfig

When I did this it picked up another pyqtconfig which must be
associated with kde3 which threw me off the track a bit.

Thanks!

-K
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to