How can I pass the pointer QPainter class to the render function? ( API report.)
I created this way.
paint.begin( new QPicture() );
But this way, when I have a report with two pages, the OpenRPT generate just one page, the page 2 toguether with the 1.
This is a shortcoming in the way the renderer handles multiple pages. The renderer was designed to take a QPainter reference without the QPrinter object but no design consideration was given to allow for handling multiple pages.
We are in the process of trying to convert the code to Qt4. Once the code is ported and stable on the newer versions of Qt we are hoping to be able to reimplement the renderer to use the new functionality and address this issue as well as a few others.
Log in to post a comment.