Hi guys, I am designing an application for making pamphlets and brochures. I have used the QGraphicsItem to represent the pamphlet pages and now I am facing a problem of how do I convert the QGraphicsItem into a pdf or png for printing.

Thanking you in advance.