Problem with CMAKE_AUTOUIC

All of the Qt5Autogen tests in CMake run and pass with the Visual Studio generators. That covers AUTOUIC for Qt5, so this is expected to work in general. Please try to narrow down the failure to a small example.

I don’t think the CMake test suite has been updated to drive those tests for Qt6 though.