Can we see the code? QString::number() should work fine in conjunction with QPointF::x and QPointF::y.