在windows直接运行Qt编译出来的可执行程序出现了如下提示错误: this application has requested the runtime to terminate it an unusual way.

在windows直接运行Qt编译出来的可执行程序出现了如下提示错误:

this application has requested the runtime to terminate it an unusual way.

please contact the application’s support team for more information.

技术文章

出现这种情况是因为缺少该程序运行所需要的动态链接库。

解决方法一:修改系统环境变量,在Path中添加Qt的bin路径就OK了。不过这只能在本机运行,把可执行程序拿到其他电脑运行就GG了。

解决方法二:当需要在其他电脑运行该程序时,就需要把相关的运行库放在同一个文件夹一起复制走。那么需要哪些运行库呢?直接运行的时候会有提示,不过还是有些运行库需要但没有提示出来的,也会出现上边的错误。

下面是我运行一个程序需要的运行库支持,可以参考借鉴。。。。。。

技术文章

 

Qt版本:5.0.1

文章来自:http://www.cnblogs.com/lancersworld/p/4168655.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3