It seems I can\'t find a way to include in my header so Qt knows about the QLineSeries class.
Qt += cha
As I wrote the question I found the answer.
I was missing using namespace QtCharts; in the header file. Got the reference from: http://doc.qt.io/qt-5/qtcharts-index.html
using namespace QtCharts;