visual studio 配置qt后,如果打开提示错误"Could not connect to AppWrapper, Please make sure TCP port 12005 is not blocked",解决办法如下:
在qt-addin的安装目录,如:"C:\Program Files\Digia\Qt4VSAddin",新建一个文件,重名为“qtappwrapper.exe.config”
然后添加以下内容:
<pre class="default prettyprint prettyprinted" style="margin-top: 6px; margin-bottom: 6px; padding: 0px; word-wrap: break-word; line-height: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);"><code style="margin: 0px; padding: 0px; word-wrap: break-word; font-style: inherit; font-weight: inherit;"><span class="tag"></span><configuration> <startup> <supportedRuntime version="v4.0.30319" /> </startup> </configuration><span class="tag"></span></code>
重新打开visual studio不再报错了。
注:supportedRuntimeversion="v4.0.30319",个人理解为.NET Framework版本。
部分博客理解为Qt版本,应该有误。
http://blog.csdn.net/shandiantianying/article/details/12847845
http://www.ithao123.cn/content-45136.html