I realise my mistake. I should be doing this instead:

Qt Code:
  1. // Length/angle of line
  2. QGraphicsLineItem * newLine = addLine(0,0, 100, 100);
  3.  
  4. // Move it to where i want it to be inside the scene
  5. newLine->setPos(50,50);
To copy to clipboard, switch view to plain text mode