运行vs+Qt程序时出现the following error occoured:there is no Qt version assigned to this project

运行vs+Qt程序时出现the following error occoured:there is no Qt version assigned to this project
原因:一般是直接将工程复制到另一台电脑上所导致,系统可能默认不选择使用的qt版本。
解决方案
1.右键点击解决方案,然后在弹出的列表中选择“Change Solution’s Qt Version,如下所示:
运行vs+Qt程序时出现the following error occoured:there is no Qt version assigned to this project
2.选择后会弹出如下窗体,选择编译机器版本msvc2015 64即可(如果是单纯的qt项目,可以直接选择出现的自己qt版本),点击????;
运行vs+Qt程序时出现the following error occoured:there is no Qt version assigned to this project
运行成功:
运行vs+Qt程序时出现the following error occoured:there is no Qt version assigned to this project