[PyQt] QGradient segmentation fault ?
phil at riverbankcomputing.co.uk
Fri Jan 11 15:51:56 GMT 2008
On Friday 11 January 2008, Laurent Hamery wrote:
> hi guys,
> I have a problem with the QLinearGradient(or even QGradient..).
> Im trying to set another stops list to the gradient, but it produce a
> segmentation fault.
> Is it a bug or did I do something wrong ?
> Note that Im using PyQt 4.2 with python 2.4.3 but I cant upgrade to
> newer versions as we are currently in production...
It's a PyQt bug I'm afraid. It will be fixed in tonight's snapshot.
If you want to apply the fix to your existing version then insert the
following line before the return statement at the bottom of qvector.sip
*sipCppPtr = qv;
More information about the PyQt