Apparently, what I state in the title is not yet possible:
Qt Code:
  1. int pw = printer->pageRect().width();
  2. int ph =printer->pageRect().height();
  3. p.setViewport(printer->pageRect());
  4. printer->setPageSize(QPrinter::A4);
  5. p.begin(printer);
  6.  
  7.  
  8. m_document->setPageSize(printer->pageRect().size());
  9. m_document->drawContents(&p);
  10.  
  11. printer->newPage();
  12.  
  13. QRect rec(-10,0.4*ph,pw-10,0.6*ph);
  14.  
  15. if (solarDiagram)
  16. solarDiagram->print(&p,rec,filter);
To copy to clipboard, switch view to plain text mode 
m_document has just a simple Html String.
The qwtPlot goes to the second page and it's visible. But the text on the first page is ultra-small. It seems that the painter is painting on a wrong rectangle,isnt'it?