Static linking against Qt

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderators: XnTriq, helmut, xnview

Post Reply
jgutierrez
Posts: 53
Joined: Tue Nov 15, 2005 9:25 am
Contact:

Static linking against Qt

Post 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).
User avatar
xnview
Author of XnView
Posts: 43603
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Static linking against Qt

Post by xnview »

I'm not sure that app will speeder with less memory used if statically linked...
Pierre.
jgutierrez
Posts: 53
Joined: Tue Nov 15, 2005 9:25 am
Contact:

Re: Static linking against Qt

Post 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.
Post Reply