简体   繁体   English

Qt应用程序在Windows中部署

[英]Qt Application Deploying in Windows

This is very messy situation that I have got. 这是我得到的非常混乱的情况。 Before posting this into StackOverFlow, I have looked into all solutions provided in net. 在将其发布到StackOverFlow之前,我已经研究了net中提供的所有解决方案。 But none of those help. 但这些都没有帮助。

I have created a small application for my professor, and now when I have build the executable code in my PC, the application never runs. 我为我的教授创建了一个小应用程序,现在当我在我的PC中构建可执行代码时,应用程序永远不会运行。 It says, I need some .dll file. 它说,我需要一些.dll文件。

Once if I attach the .dll files into the package, everything works perfect, except one thing, the application size which was supposed to be around few 20-30 kb goes to 1.23Gb. 如果我将.dll文件附加到包中,一切都很完美,除了一件事,应该是大约20-30 kb的应用程序大小达到1.23Gb。

My question is how to solve the issues? 我的问题是如何解决问题? Can anyone give me a solution in a very simple-feasible way? 任何人都可以用一种非常简单可行的方式给我一个解决方案吗?

I need to link those .dll file but also need to keep the application small enough to make it portable. 我需要链接这些.dll文件,但还需要保持应用程序足够小以使其可移植。

I saw this , and this , and then this , and also this and finally this ; 我看到这个 ,和这个 ,然后这个 ,而且最后这个 ; none of them helped! 他们都没有帮助!

您只需要重新分发应用程序的发行版本,该版本链接到Qt DLL的发行版本,其大小为5-20 MB,具体取决于Qt版本,编译器和使用的模块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM