Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Minimal Qt executable-size

Tags:

Now that Qt goes LGPL I tend to give it a try again. Years ago I decided against for some reasons, one of them being the huge size of executables (Qt on windows). I found a lower limit of about 5MB. Trolltech affirmed this on request but told me, that the granularity will be improved, which would lead to smaller sizes (depending on required elements).

Things could have changed meanwhile. Which is the size of "hello world" (windows and console) in Qt nowadays?

It's about statically linking. I think qtCore and qtGui are required.

like image 984
Christof Schardt Avatar asked Jan 16 '09 13:01

Christof Schardt


1 Answers

There is a Discussion from 2007 here, the smallest number I saw there after a quick glance over it was 1.3 MB (compressed using UPX), so it seems it can be lowered a bit, but still is fairly large.

like image 130
schnaader Avatar answered Nov 04 '22 15:11

schnaader