I was using Qt 4.8 and minGW compiler with boost 1.46.0 for my project but now i have moved to Qt 5.0.2 and MinGW compiler with Boost 1.55.0, But the copy constructor for subgraph is not working well. It is not adding vertices to subgraph (Shows 0 items in vertex list if performed debug).
I am taking input into gMainGraph and I need to copy it to m_gMainGraph
m_gMainGraph = new SubGraph(gMainGraph);
Subgraphs are getting created but the vertices and edges within subgraphs are not getting created and are getting added only to the top most parent graph. Here in above code gMainGraph is not getting deep copied to m_gMainGraph.