给vs2022配置完Qt后。创建了qt的widget项目,点击ui文件,很快弹出报错。 解决方法: vs菜单栏-扩展-Qt VS Tools-Options-General-Qt Designer,改为true即可。