5 ms·
> QT is distributed under LGPl so by statically linking you must also distribute your program as LGPL AFAIK, static linking doesn't necessary make the whole pr
by kbumsik 7y ago
> QT is distributed under LGPl so by statically linking you must also distribute your program as LGPL
AFAIK, static linking doesn't necessary make the whole project LGPL. You just need to provide users relink LGPL part of the library.
- maccard 7y agoWould that mean that distributing object files and letting the user link their own QT would work? I'm not totally sure on the nuanced here unforrunately
- jhasse 7y agoYes
- kbumsik 7y agoExactly. For example if you make a project with Qt5.11 then the user should be able to rebuild the project with Qt5.12.
- jcelerier 7y agoyes, according to the GPL authors : https://www.gnu.org/licenses/gpl-faq.en.html#LGPLStaticVsDynamic https://www.gnu.org/licenses/gpl-faq.en.html#LGPLStaticVsDyn...
- maccard 7y agoCool, thanks! I've learned something today!
- NikkiA 7y agoAnd bear in mind that 'object file' here could consist of simply a single 'ar' format file containing all the other static code that needs one simple link command.