pic2eps can be used in order to test EpsEngine. It converts QPicture files (.pic) that record and replay QPainter commands to PostScript format.
QPicture files can be created as shown in the code example bellow. For more details about QPicture files please read the QPicture class documentation >>
QPicture picture;
QPainter painter;
painter.begin(&picture); // paint in picture
painter.drawEllipse(10,20, 80,70); // draw an ellipse
painter.end(); // painting done
picture.save("drawing.pic"); // save picture