Hi all,

I'm trying to render QCustomPlots to file/QPixmap/PDF (as described at http://qcustomplot.com/index.php/support/forum/1724), and things worked fine in the beginning. Now I'm trying to make this work from a QCoreApplication, and I get an error that I cannot create a QWidget (which QCustomPlot derives from) when NOT having a QApplication.

This is a known issue (http://qcustomplot.com/index.php/support/forum/421 is similar), and somewhere in this forum I found Manu saying that you *can* make QCustomPlot work with QCoreApplication by deriving from QObject instead.

What is required to do this? Manu, would you consider updating QCustomPlot to use either QWidget or QObject based on a define (or a smarter way that I don't see)?

Thanks!
Ben