Static linking against Qt
Moderators: XnTriq, helmut, xnview
-
- Posts: 53
- Joined: Tue Nov 15, 2005 9:25 am
Static linking against Qt
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).
-
- Author of XnView
- Posts: 44922
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Static linking against Qt
I'm not sure that app will speeder with less memory used if statically linked...
Pierre.
-
- Posts: 53
- Joined: Tue Nov 15, 2005 9:25 am
Re: Static linking against Qt
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.
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.