pic2emf can be used in order to test EmfEngine. It converts QPicture files (.pic) that record and replay QPainter commands to Enhanced Metafiles (.emf).
QPicture files can be created as shown in the code example bellow. For more details please read the QPicture class documentation >>
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