Hey,
I am getting this error when setting things up:
:-1: error: qcustomplot.cpp:(.text+0x35a65): undefined reference to `QPrinter::setOutputFileName(QString const&)'