I still haven't a clue what is going on but I can confirm that the problem is in fact with the rendering of the pixmap on the scene as the program works when i comment the addPixmap and add a simple test instead
Qt Code:
  1. //scene.addPixmap(*renderer);
  2. scene.addText("Hello, world!");
To copy to clipboard, switch view to plain text mode