@brad, here is a small example Tested using qt5. The CMake variable USE_UIC is ON by default so it fails for me. When USE_UIC is OFF it works.
Remember to delete build/gui (if it exists) before running cmake. If you change the variable USE_UIC delete and re-run cmake.
Qt6_Qt5.zip (7.0 KB)