PDA

View Full Version : is it possible to reduce the static exe file size?


mismael85
17th April 2008, 00:45
hi,
i built my program as static ,
it is a simple dialog and the file size was 5.5 m it is too big for such a program.
can i reduce the file size ?
note i does not mean any compressor but i mean a way in Qt.
i want it to be in kelos.

wysota
17th April 2008, 01:18
First of all make sure you don't have Qt built in debug mode. Then make sure you pass some options to configure that disable things you don't need (for instance -no-stl, -no-exceptions, etc.). And third of all - search the forum for similar issues.

Oh, and you can use a compressor such as upx - it turns executable files into... smaller executable files.