Am Mo., 24. Mai 2021 um 18:47 Uhr schrieb Kornel Benko <kor...@lyx.org>:
> Am Mon, 24 May 2021 18:19:47 +0200 > schrieb Yu Jin <yu_...@lyx.org>: > > > Am Mo., 24. Mai 2021 um 15:19 Uhr schrieb Kornel Benko <kor...@lyx.org>: > > > > > Am Mon, 24 May 2021 09:50:27 +0200 > > > schrieb Yu Jin <yu_...@lyx.org>: > > > > I found what causes this, it is the /Zc compile option. With Qt5 it > is > > > set > > > > to wchar_t and with Qt6 to wchar_t- in all targets, which causes > > > troubles. > > > > I have changed it in Visual Studio on a test basis and successfully > > > > compiled LyX, but I guess it would need to be changed in CMake code. > > > > Kornel, can you help me out here? > > > > > > This is set at ./CMakeLists.txt:1112 > > > Try to change > > > if (NOT Qt5Core_FOUND) > > > to > > > if (NOT (Qt5Core_FOUND OR Qt6Core_FOUND)) > > > > > > > Yes, that worked, should I commit? > > Yes please. > Done. Thank you. I will adapt wininstaller's NSIS code to be compatible with Qt6 later. -- Eugene
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel