Qt setup files are very large
-
Hello,
I dont know if somebody asked this question before. Well i dont know the current situation in Qt. But previously when i want to create a setup file for my application i need to include some Qt libraries and so on. It makes the setup file very large in size. Is there a better way to reduce the size like in Visual studio.
Best Regards
Ansif -
If your application is Open Sourced, or you have the Commercial License for Qt, you can build Qt and your application statically, that would reduce the binary size a bit.
You can also build without ICU to lower the amount of stuff to be shipped.
-
[quote author="sierdzio" date="1388046464"]If your application is Open Sourced, or you have the Commercial License for Qt, you can build Qt and your application statically, that would reduce the binary size a bit.
You can also build without ICU to lower the amount of stuff to be shipped.[/quote]
Thanks for this. But what about Release build, Will it needs any more stuffs to be included in making the setup program. I am using Qt network and core libraries
-
Dependencies vary a lot, as every app is different ;) For standard Windows build you need release versions of QtCode.dll, QtNetwork.dll, the platform plugin platforms/qwindows.dll, ICU libraries (libicu*, it weights quite a lot), MSVC runtime, OpenGL libs (or ANGLE). This adds up to, IIRC, about 20-40 MiB, depending on your setup.
It's much less on Linux and much more on Mac OS X. Platforms are all different :D
-
[quote author="sierdzio" date="1388051221"]Dependencies vary a lot, as every app is different ;) For standard Windows build you need release versions of QtCode.dll, QtNetwork.dll, the platform plugin platforms/qwindows.dll, ICU libraries (libicu*, it weights quite a lot), MSVC runtime, OpenGL libs (or ANGLE). This adds up to, IIRC, about 20-40 MiB, depending on your setup.
It's much less on Linux and much more on Mac OS X. Platforms are all different :D[/quote]
Yes it is. Thanks for the information.
-
This post is deleted!