[Qt-interest] LGPL and static linking
Bastian Bense
bastibense at gmail.com
Wed Dec 2 09:45:15 CET 2009
I guess the .a format is, unlike shared libraries, not compatible with every
linker. So the user would need the exact version of the toolchain to be 100%
sure that re-linking will go smooth.
Why not simply provide the user two download options when downloading your
application (except, of course, for those cases where it is technically
impossible): a dynamic version (possibly hidden somewhere between the links
on the download page), and the static variant. So if he/she wants the
dynamic version and swap some DLLs, they can do it with the dynamic build,
otherwise they can enjoy the static build with the smaller file size and so
on...
2009/12/2 <andrew.m.goth at l-3com.com>
> Daniel Grubbs wrote:
> > It seems to me that it should be possible to write a
> > de-linker which would allow one to turn one's linked program
> > back into object files. Wouldn't the existence of such a
> > program solve this whole problem?
>
> Earlier tonight an off-the-wall idea came to me. Deliver two (or more) .a
> files (archives of .o files), one of which is your program and the other is
> static Qt. Also deliver a simple script to run ld on the .a files to make
> the executable. Now you can't be accused of making a derivative of the Qt
> library. If anyone's making a derivative, it's the customer, and he's doing
> it without access to your source code!
>
>
--
Best regards,
Bastian Bense
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091202/e4f5b6a9/attachment.html
More information about the Qt-interest-old
mailing list