Hi,
The following code seems to work,

Qt Code:
  1. QString aString;
  2. QTextStream out(&aString,QIODevice::WriteOnly);
  3. out << 1;
  4. out << "+";
  5. out << 2;
  6. // and so on...
  7. qDebug()<<aString;
To copy to clipboard, switch view to plain text mode 
But I'd have to be convinced that it doesn't keep on concatenating and reallocating wastefully
Thanks anyway.