Em sex 28 fev 2014, às 18:09:36, Olivier Goffart escreveu:
> > So:
> >     qDebug("%ls\n", qWPrintable(s));
> 
> That will not work because sizeof(wchar_t) is 4 on linux.
> (and QString::vsprintf wands %ls to be ushort*)

Then we fix QString::vsprintf.

We can use %S, which is an alias for %ls on regular printf.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to