[Qt-interest] QGraphicsItem as parent

Norbert Bokor bokorn at tvn.hu
Mon Jul 20 01:27:34 CEST 2009


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




More information about the Qt-interest-old mailing list