Windows,Mingw Qt应用程序不在部署的计算机上运行 [英] Windows, Mingw Qt Application Does Not Run On Deployed Computers

查看:178
本文介绍了Windows,Mingw Qt应用程序不在部署的计算机上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Mingw创建了一个Qt应用程序。在将所需的DLL复制到目录之后,应用程序在开发计算机上正常运行。

I have created a Qt application with Mingw. The application runs properly on the development computer after copying the required DLL's to the directory. However, when deploying on external computers, the application does not run at all.

更新:
此外,该应用程序通过QtSql使用Sqlite3。

Update: In addition, the application uses Sqlite3 via QtSql.

推荐答案

很可能你还缺少一些dll。

It's quite likely you're still missing some dll.


  1. 运行应用程序后检查Windows事件日志中是否有任何错误。 (管理工具 - >事件查看器)。

  2. 尝试从命令提示符窗口启动应用程序。

  3. 尝试 Dependency Walker

  1. Check the Windows event log for any errors after running the application. (Administrative Tools->Event Viewer).
  2. Try launching the application from a command prompt window.
  3. Try Dependency Walker.

文件或注册表设置。

仔细检查 Qt docs 用于部署Windows Qt应用程序。

Double check against the Qt docs for deploying Windows Qt applications.

这篇关于Windows,Mingw Qt应用程序不在部署的计算机上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆