Hi!

I've got an issue. I'm working with Qwt version 5.2.7. I'm trying to generate a SVG file from my QwtPlot.
At the moment, I'm doing this, simply said with following code:

Qt Code:
  1. QSvgGenerator genereator;
  2. generator.setFileName(blabla)
  3. generator.setSize(size)
  4. .... Initializing generator, BUT then...
  5.  
  6. QPainter painter;
  7. painter.begin(&generator);
  8. QwtPlot plot = blblabla;
  9. plot->drawCanvas(&painter);
  10. painter.end()
To copy to clipboard, switch view to plain text mode 

This works fine BUT it will only draw the plot it self + the grid bot NO axis... Quiet annoying. If I try to draw the axis apart, by getting the axis from the plot and then QwtScaleDraw::draw(&painter,QApplication:alette(), my axis will be drawn at top. Then there will be no control...

ANd yes, I know that in Qwt version 6 there is a renderer to pdf, svg, etc but I need to use this version!

Any ideas?