<MinimalRebuild>false</MinimalRebuild>
<ControlFlowGuard>false</ControlFlowGuard>
<WholeProgramOptimization>true</WholeProgramOptimization>
+ <DisableSpecificWarnings>4714;4324;4127</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<MinimalRebuild>false</MinimalRebuild>
<ControlFlowGuard>false</ControlFlowGuard>
<WholeProgramOptimization>true</WholeProgramOptimization>
+ <DisableSpecificWarnings>4714;4324;4127</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
#error Compiler is not supported!
#endif
#elif defined(_MSC_VER)
- #if (_MSC_VER == 1930)
+ #if (_MSC_VER == 1932)
+ "MSVC 2022.2";
+ #elif (_MSC_VER == 1931)
+ "MSVC 2022.1";
+ #elif (_MSC_VER == 1930)
#if (_MSC_FULL_VER <= 193030706)
"MSVC 2022.0";
#else
bool success = false;
if (const SetConsoleIconFun pSetConsoleIconFun = MUtils::Win32Utils::resolve<SetConsoleIconFun>(QLatin1String("kernel32"), QLatin1String("SetConsoleIcon")))
{
- const DWORD before = GetLastError();
+ //const DWORD before = GetLastError();
if (pSetConsoleIconFun(hIcon))
{
success = true;