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

运行vs2019+Qt5.12程序时出现the following error occoured:there is no Qt version assigned to this project,第1张

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

原因:一般是直接别人的工程文件导致,系统可能默认不选择使用的qt版本。
解决方案
1.右键点击解决方案,然后在d出的列表中选择"QT"——>“Change Solution’s Qt Version”——>“mvsc2017”,如下所示:


可以运行了,但是报错找不到头文件:无法打开包括文件:“tisudshl.h”:No such file or directory,解决方法:看看头文件路径是否加入到了C++常规附加包含目录里。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5521367.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-13
下一篇 2022-12-13

发表评论

登录后才能评论

评论列表(0条)

保存