I don't know if the question is stupid.
I would export a plot as a png (or other) file.
I used QImage as QPaintDevice for QwtPlot:rinter().
But the file is empty.
Any suggestion?