a) The compiler error is against a Qt header (Qwt has nothing to do with QGraphicsView and friends ). Open it in your editor and check the offending line.
b) You don't need QwtPlotSvgItem to export your plot to SVG. This is done by QwtPlot:rint with a QSvgRenderer (see bode example ) as paint device.
Uwe
Bookmarks