Nah..i din.

Now trying it by

Qt Code:
  1. //sceneX and sceneY are the top-left co-ordinates of my scene and my rectangles //(that i want to remove) has the top-left cornor same as scene rectangle.
  2. scene->removeItem(scene->itemAt(sceneX+50,sceneY+50));
  3. delete scene->itemAt(sceneX+50,sceneY+50);
To copy to clipboard, switch view to plain text mode 

This sometime removes the item but sometimes when i run my program again without making any changes in my code, that rectangle appear on top of other newly designed shapes