Change
Qt Code:
  1. QList<QwtPlotCurve> myList = new QList<QwtPlotCurve>;
To copy to clipboard, switch view to plain text mode 
to
Qt Code:
  1. QList<QwtPlotCurve*> myList = new QList<QwtPlotCurve*>;
To copy to clipboard, switch view to plain text mode 
You are declaring pointers, but you are trying to store them to a list of objects.