Configure fails with Qt6 and MSVC
Running waf configure fails when the qt5 tool checks to "See if Qt files compile" when using msvc 16.0. Looking at the qt5 tool, the command line arguments passed to the compiler at this step are not compatible with msvc. By overriding this tool and reimplementing this check, I was able to make it work by using the following arguments:
Qt 6:
/Zc:__cplusplus /permissive- /std:c++17
Qt 5:
/Zc:__cplusplus /permissive- /std:c++11