[Qt-interest] QGraphicsItem as parent

Alexis Menard alexis.menard at trolltech.com
Mon Jul 20 09:18:10 CEST 2009


A Backtrace? More code please.

On Jul 20, 2009, at 01:27, Norbert Bokor wrote:

> Hi all,
>
> I have a class derived from QGraphicsWidget through an abstract class:
>
> QGraphicsWidget -> AbstractNode -> GraphNode
>
> when i create a new QGraphicsLineItem(this) (using my GraphNode  
> class as
> parent), it crashes. if i don't set my class as parent of an other,  
> the
> application runs and i can do anything with my GraphNode
>
> any idea/hint what's missing or what am i doing wrong?
>
>
> thanks in advance
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list