2013-05-16 42 views
1

我已经使用Qt 5.0.2创建了一个应用程序,并使用inno setup进行了构建。该应用程序已成功安装并在我的系统上启动,并且工作正常。但是,当我将它安装在其他系统上时,应用程序未安装或启动也没有显示错误。请帮助我们......怎么办Qt应用程序没有安装在其他系统上,除了构建的系统

回答

0

如果您使用visual studio构建应用程序,则可能需要在目标机器上安装vcredist_sp1_x86.exe。你可以在Qt的安装文件夹中找到它。您可以将它添加到Inno脚本中的文件列表中,并在[Run]部分添加条目。另外,还要确保你已经包括在你的安装脚本:

Qt5Core.dll 
Qt5Gui.dll 
Qt5Widgets.dll 
libGLESv2.dll 
icuuc49.dll 
icuin49.dll 
icudt49.dll 
D3DCompiler_43.dll 
plugins/platforms/qwindows.dll ->should be installed in platforms/qwindows.dll in the destination folder. The same applies to imageformats plugins if you use them. 

如果您觉得有太多的DLL,你将需要重建的Qt与其它的配置选项,但这是另一个故事...

相关问题