[Interest] Help with segfault when drawing Bezier curve

Gopalakrishna Bhat gopalakbhat at gmail.com
Sun Sep 16 18:25:33 CEST 2012


Hi,

On Sun, Sep 16, 2012 at 9:44 PM, Shriramana Sharma <samjnaa at gmail.com>wrote:

> Hello.
>
> I'm working on some stuff involving bezier curves and wanted to write
> my own bezier display applet to keep in handy, so that I can adjust
> the nodes and handles and it would show me real-time what the
> resultant curve looks like.
>
> However I am running into some curious segfault even with a minimal
> bezier display. I've attached the code that produces it. (FWIW this
> code is under the GPL since I'm developing more of this in PyQt under
> the GPL.) I hope someone can help me resolve the problem.
>
> QPainter in the paintEvent for BeizerWidget should not be static. Remove
that.


> I am using Qt 4.8.1 on Kubuntu Precise.
>
> --
> Shriramana Sharma
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
With regards,
Gopalakrishna


-- 
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120916/f0c14fae/attachment.html>


More information about the Interest mailing list