Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error while compiling with mcvs 2019
inozemcev last edited by
This is the cmake instruction which broke build:
ЋЇвЁ¬Ё§ЁагойЁ© Є®¬ЇЁ«пв®а Microsoft (R) C/C++ ўҐабЁЁ 19.28.29912 ¤«п x64
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚бҐ Їа ў § йЁйҐл.
cl /c /Zi /W1 /WX- /diagnostics:column /O2 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /std:c11 /Fo"cmTC_39216.dir\Debug\" /Fd"cmTC_39216.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue D:\QT_STATIC\msvc\CMakeFiles\CMakeTmp\CheckIncludeFile.c
cl : Є®¬ ¤ п бва®Є error D8016: Ґб®ў¬ҐбвЁ¬лҐ Ї а ¬Ґвал Є®¬ ¤®© бва®ЄЁ "/O2" Ё "/RTC1" [D:\QT_STATIC\msvc\CMakeFiles\CMakeTmp\cmTC_39216.vcxproj]
As far as I understand that is becouse cl calls with /RTC1 with some other tag which is depricated in this call. I want to know where I can edit this call manually.
p.s. also has some troubles with output encoding, put it seems not the main problem.