4 ms·
What's the advantage of static linking?
by jules 16y ago
What's the advantage of static linking?
- tomjen3 16y agoThe QT libraries are gigantic -- easily as big as the JVM, but unlike the JVM you aren't going to need most of what is there, so your programs will take up a lot less space if you statically link them. This won't matter if you ship 'em on DVD, but it makes a lot of difference if you provide downloads over the internet.
- dchest 16y agoOn Mac: QtCore - 5.7 MB QtGui - 24.4 MB QtNetwork - 2.6 MB QtSql - 0.5 MB Not so gigantic by today's standards: 33.2 MB, 12 MB zipped. For comparison, MacRuby.framework takes 51 MB, 17.3 zipped. PS But, of course, it would be nice to have a static linking-friendly [free of charge] license.
- tomjen3 16y agoDo'h, I checked the size some months ago - but I must have had them compiled in debug mode. Still 30 MB is quite large to download over an average commercial internet link.