No, Qt uses the wchar_t of the platform for the to/fromWChar functions
to communicate with wchar_t based functions of the host system. On
Windows that's a 16 bit type, on *nix traditionally 32 bit.
QString is internally UTF-16 on all platforms.
So what do you propose? LyX is currently uncompilable using MSVC due
to this issue.
This doesn't work although depends.exe says that the argument must be
the type "unsigned short const *":
QString::fromWCharArray((unsigned short const *) &long_path[0]);
I hear an echo.....
> Does the attached patch help?
No the error message keeps the same.
Did you read my other post ?
Vincent