On Friday 28 February 2014 09:29:53 Thiago Macieira wrote:
> 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.

Could we just accept plain QString then?  perhaps %q or %qs

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to