Qt提示 "Could not connect to AppWrapper, Please make sure TCP port 12005 is not blocked"解决方法

本文提供了解决Visual Studio配置Qt后出现'Could not connect to AppWrapper, please make sure TCP port 12005 is not blocked'错误的方法。通过在qt-addin的安装目录下新建并编辑qtappwrapper.exe.config文件,添加特定配置内容,即可解决该问题。

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.youkuaiyun.com/shandiantianying/article/details/12847845

http://www.ithao123.cn/content-45136.html

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值