Page 1 of 1

Static linking against Qt

Posted: Wed Dec 29, 2010 3:56 pm
by jgutierrez
Probably if XnViewMP is statically linked against Qt, only used functions will be included in the executable, meaning that it will launch faster, require less memory, and less space on disk (also ZIP distribution will also be smaller).

Re: Static linking against Qt

Posted: Wed Dec 29, 2010 8:32 pm
by xnview
I'm not sure that app will speeder with less memory used if statically linked...

Re: Static linking against Qt

Posted: Wed Dec 29, 2010 8:59 pm
by jgutierrez
I think that only used functions will included in the executable, meaning that unless XnViewMP is using the 100% of the Qt provided code, it will be reduced, at least in terms of disk usage and ZIP distribution.

As for launching speed, probably static linking is more efficieint, if we sum to that that probably the total code to load will be smaller, is thould be some gains.