title: How to draw a smooth curved line that goes through several points in QT?
body: <p>Is there a way to draw a smooth line through a set of points in QT?
  The number and position of the points is set during run time. </p>
  
  <p>Currently, I draw a QPainterPath which contains lineTo's going from point to point, creating a path. I do use render-hints antialiasing but the path is still jagged.</p>
  
  <p>I've seen QSplineSeries which seems to give this kind of curved path but it is not available in Qt4.8, which is the QT Version I'm using.  </p>
  
  <p>Another option that is being suggested often is using Bezier Curves but those use one start and end point and two control point, so I would need to  calculate it for every segment (every lineTo) and somehow calculate those control points which I don't have at the moment.</p>