How to Build an Application for Windows like "click and run", without add many dlls.
-
I'm trying to build a simple app, very simple, to create some files on the system, but after I build them I need to add the DLL files on the same for to run, and this dlls is very large files...
I need to make something simple, that's possible? -
You should build Qt statically.
"http://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows":http://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows -
I lost the page that shows how to do that...
If I make a build statically, it can get a smaller executable?
Now I have the executable with the DLL, all together takes 12,5mb. If I build statically I can reduce this size?Thanks
-
Thanks for URL!
-
If your problem is one of distribution, you can use something like "Inno Setup":http://www.jrsoftware.org/isinfo.php to create a nice, compressed installer.
There is no way around the Qt dll's unless you go for a commercial license.
-
Or GPL ;-)
-
Thanks anyway!
I will try to build statically!About the installer I use the Advanced Installer...
Thanks
-
@goblincoding
GPL license allows statically linking. -
[quote author="Lukas Geyer" date="1359636764"]Or GPL ;-)[/quote]
Can you build statically under GPL? Never knew that...and so my legalese improves...little by little :D
Thanks!
-
-
Cheers for the links and the education :)