On Tue, Feb 21, 2012 at 3:20 PM, <jan-arve.saether at nokia.com> wrote: > Is there any reason why we cannot move QString::asprintf() to QByteArray::asprintf() instead? If your data is already in a QString, you're going to pay a rather large penalty to copy it all to a byte array just to use that, and then convert it back.