vs集成qt插件,出现The follwing erro occurred...

18 阅读1分钟

问题:在vs开发工具中集成qt插件,出现以下情况

The following error occurred:
These Qt version are inaccessible: 
5.9.2_msvc2015 in
Make sure that you have read access to all files in your Qt directories

出现这种情况,有可能是有重装过qt,qt的安装目录有所改变。

1.png

解决:

指定QTDIT环境变量

image.png

参考:Trouble using Qt with VisualStudio