[Qt-interest] Question about "wchar_t" support on Windows

Yves Bailly yves.bailly at sescoi.fr
Thu Jan 20 16:51:08 CET 2011


Keith Rusler a écrit :
> What makes you think it doesn't? If it doesn't, why should it?
> 
> On 20 January 2011 09:38, Yves Bailly <yves.bailly at sescoi.fr 
> <mailto:yves.bailly at sescoi.fr>> wrote:
>     Keith Rusler a écrit :
>      > use QString::toWideChar() or QString::toStdWString().c_str()?
> 
>     I'm aware of these, however it doesn't answer my question:
>     why would Qt need to *not* consider "wchar_t" as a native type?

What makes me think it doesn't is the presence of this -Zc:wchar_t- option
on the compiler command line.

About "why should it",
1- maybe because it seemed to me it *is* a native type according to
   the C++ standard, unless I'm not reading it correctly;
2- again, why shouldn't it?

I'm just trying to understand why this option is given to the compiler.

-- 
      /- Yves Bailly - Software developper  -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."



More information about the Qt-interest-old mailing list