New error building with MS Visual Studio

I just updated to MS Visual Studio 18.6 (May 2026 update).

Now I am getting:

3>C:\Qt\6.10.0\msvc2022_64\include\QtGui\qguiapplication.h(168,10): error C2220: the following warning is treated as an error
3>  (compiling source file 'pch.cpp')
3>C:\Qt\6.10.0\msvc2022_64\include\QtGui\qguiapplication.h(168,10): warning C4996: 'QCoreApplication::compressEvent': This feature will be removed in Qt 7

which is a warning I have never seen before, and as I compile with /Wx, it errors. How do I shut this up.

D.

Read more here: Source link