[Development] Deprecating QString::{v,}sprintf()

Thiago Macieira thiago.macieira at intel.com
Tue Feb 21 14:29:11 CET 2012

On terça-feira, 21 de fevereiro de 2012 12.12.52, Marc Mutz wrote:
> QString::arg() can't deal with va_lists. Are you proposing to disable
> qDebug()  for non-C++11-compilers?

No, but I also fail to see why we need QString::sprintf for qDebug.

qDebug should operate on char, not on UTF-16, and thus it can use (va)sprintf.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120221/9040edf2/attachment.sig>

More information about the Development mailing list