That's weird, when I run it, the output I get is:

1.11 Freunde
2.11 Freunde

which is what I expect. (Running WinXP, Qt 4.1.3)
The docs say that QTextStream::flush() has no effect when QTextStream operates on a string... Maybe your cout just needs to be flushed? weird.