You will have to do an explicit cast to ggraph(if I understand correctly ).

So you have ggraph which contains a scene.
What is the base class for ggraph and what parent do you pass when you create it?

If in your code parent() means QObject:arent(), then a cast is needed.

Check the debug output. A warning message should be there: connect: no such slot....

Regards