deployment size issues, please help
Hi i just created some apps and was deploying a simple binary to hex converter
The app was desiged in release mode with executable less than 500kb but With the executable to run on any windowsi had to provide 3 extra things with the executable in setup
mingwm10.dll
qtcore4.dll
qtgui4.dll
The total accounted for around 13.4 mb with qtgui4.dll tking about 10 mb
so i was hoping anyone can tell me is there a better way out so that to reduce the size of such a small app to less than 1mb or less, . It is just a binary to hexadecimal converter and should not take such huge size
Re: deployment size issues, please help
if you have a commercial license, you can do static linking.
Re: deployment size issues, please help
Packing exe and libraries with UPX will also help.
Re: deployment size issues, please help
Quote:
Originally Posted by
axeljaeger
if you have a commercial license, you can do static linking.
...or using the GPL.
Re: deployment size issues, please help
To follow up Boron's post. Statically link Qt and run UPX over the final executable. You can find UPX here http://upx.sourceforge.net/
To give you some context. I've got a fairly complex UI here with embedded webkit and a lot of other code in (server IO etc). I'm using Core, Gui, Network, Xml, OpenGL and Webkit in this project and the statically linked binary is around 14.1 megabytes. Once UPX'd the size of this falls to 4.5 megabytes - I HUGE saving - plus I've just got one exe to deploy to my users. A very simple installation task.