我使用Qt5.3.1编写了一个程序,并在开发机上成功运行。我将所有必要的.dll文件复制到我的.exe所在的文件夹中,包括:Qt5Widgets.dll、Qt5Network.dll、Qt5Gui.dll、Qt5Core.dll、icudt51.dll、icuin51.dll、icuuc51.dll、libgcc_s_dw2-1.dll、libwinpthread-1.dll和 libstdc++-6.dll。
现在我想在没有Qt安装的机器上运行该程序。有没有办法实现这个目标呢?用户不需要安装IDE才能使用程序,对吧?
开发机的详细信息如下:
- Windows 8 - Qt 5.3.1
部署平台为:
- Windows Vista - 没有Qt安装但所有必要的.dll文件都已准备好
我收到的错误消息首先是: > This application failed to start because it could not find or load the Qt platform plugin "windows". Reinstalling the application may fix this problem.
接下来是: > This application requested the Runtime to terminate in an unusual way. Please contact support.
然后程序崩溃了。但是如果我安装Qt5.3.1,则可以正常工作。因此,这与`c:/Qt`目录中的文件有关。
现在我想在没有Qt安装的机器上运行该程序。有没有办法实现这个目标呢?用户不需要安装IDE才能使用程序,对吧?
开发机的详细信息如下:
- Windows 8 - Qt 5.3.1
部署平台为:
- Windows Vista - 没有Qt安装但所有必要的.dll文件都已准备好
我收到的错误消息首先是: > This application failed to start because it could not find or load the Qt platform plugin "windows". Reinstalling the application may fix this problem.
接下来是: > This application requested the Runtime to terminate in an unusual way. Please contact support.
然后程序崩溃了。但是如果我安装Qt5.3.1,则可以正常工作。因此,这与`c:/Qt`目录中的文件有关。