[PyQt] Problems building PyQt (`Matrix' is not a member of
phil at riverbankcomputing.co.uk
Thu Apr 12 09:29:32 BST 2007
On Thursday 12 April 2007 8:22 am, Andreas Pakulat wrote:
> On 12.04.07 00:23:19, Chip Webber wrote:
> > Dear List,
> > I've been trying for the better part of the day to build PyQT, but I am
> > completely stuck and would really appreciate a nudge in the right
> > direction.
> > Building of PyQT fails with the error: sip/QtCore/qobject.sip:1995:
> > error: `Matrix' is not a member of `QVariant'. I've googled and and read
> > install notes to no avail which makes me suspect that I've done something
> > stupid or overlooked something simple. I've tried installation on two
> > separate machines with the same results (albiet both are failry similar
> > environments).
> Uhm, I guess PyQt 4.2 depends on Qt4.2, wether Phil intended to do this
> or not. It seems that the Matrix type was added to QVariant in 4.2.
Yes, it's a bug in some handwritten code.
To fix it, find the reference to QVariant::Matrix in qobject.sip and remove
that case of the switch statement.
More information about the PyQt