Qt6 sets UNICODE on Windows

Yu Jin yu_jin at lyx.org
Sat May 29 07:56:06 UTC 2021


this is connected to the Beta 1 tarballs, trying to build LyX I stumbled
across this:
[image: grafik.png]
Apparently Qt6 sets UNICODE and _UNICODE on LyX (and only on LyX) when
configuring without LYX_CONSOLE. It does that by setting the character set
to Unicode (as shown in the screenshot above) and it also sets the
"UNICODE" and "_UNICODE" preprocessor definitions manually. Qt5 does not do
that. I have just tried to manually change the character set and remove
those definitions in Visual Studio and it worked just fine. Any Idea if
this is intended by us or how we can prevent it? Maybe in CMake?
-- 
    Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210529/0cb7b611/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 47635 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210529/0cb7b611/attachment-0001.png>


More information about the lyx-devel mailing list