Qt6 sets UNICODE on Windows

Pavel Sanda sanda at lyx.org
Mon May 31 14:41:19 UTC 2021


On Sat, May 29, 2021 at 06:47:05PM +0200, Yu Jin wrote:
> > But I also think that the "universal" function calls (CreateNamedPipe()
> > and WaitNamedPipe()) should be made specific (CreateNamedPipeA() and
> > WaitNamedPipeA()), because the arguments are also specific (c_str() always
> > returns const char*). I have attached the patch showing it, the patch alone
> > fixes the compilation with unicode definition (can I commit it?). Once Qt
> > 6.1.1 releases though, I will create a patch to disable unicode in CMake
> > again.
> >
> Forgot the patch.

It's inside _WIN32 section, thus safe for other archs. So I'd say go on and commit. :)

Pavel


More information about the lyx-devel mailing list