[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QGradient segmentation fault ?
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2008-01-11 15:51:56
Message-ID: 200801111551.56523.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

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;

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic