In case I would dynamically link to a LGPL-licensed library (in this case Qt) in a commercial application: Which way do I have to provide the library’s source code?
- Is a link to the project homepage sufficient? Or would I need to host the source code on our servers? For which period of time after distribution of the software would this website need to be kept up? (or would “on request” be also compliant with the LGPL?)
- Is it still necessary to offer the source code in a physical way (e.g. on CD via snail mail) for 3 years (any difference between
LGPL 2.1
andLGPL 3
here?)?
I’ve found this in the GNU FAQ:
Can I put the binaries on my Internet server and put the source on a
different Internet site?Yes. Section 6(d) allows this. However, you must provide clear instructions people can follow to obtain the source, and you must take
care to make sure that the source remains available for as long as you
distribute the object code.
I’ve highlighted the relevant part as bold text. However, I cannot believe, that this is the complete truth. If I distribute an application only once, then I could put the source code online and take it down a day later. So this still doesn’t answer my question…
There is another question with a related topic here, but it has a different attempt than mine. It only asks for alternatives to shipping the source code directly with the binaries, while my question aims to clarify which circumstances and conditions I would have to consider / respect when sharing the LGPL library source code.
5
As a rule of thumb, I’d say you should make the source available for as long as you’re providing support for the software that uses it, or (preferably) as long as you can tell it’s being used. It’s difficult to give any solid guidelines without knowing more about the software you’re producing, and what area you’re in. To be on the safe side, I’d include a link somewhere in your documentation to the project home page and a note regarding what version of the software your application uses.
2
- If you distribute it only once, just distribute it together the binaries and you’re done.
- If you are not sure, upload it to a public free repository (bitbucket, github) and it’s no longer your responsability (as long as you actually stopped distributing the binaries anyway).
In your particular case (you are mentioning Qt) I believe that in practice giving a link to Qt – including to the download page of the particular version of Qt your are basing your product on – is probably enough.
However, be sure that the link is valid (you have no control on how Qt people are managing their website). This means that you should at least watch it every week (or setup a script doing that).
However, as a courtesy, you’ll better add a local copy on your web site of the tar source archive of the relevant version of Qt, and keep that copy as long as you offer for sale your product using Qt or some maintenance or services on it.
IMHO (and I am not a lawyer) it is not much a matter of legal obligations, but much more a matter of being nice with your customers and the Qt community at large. And a local copy of Qt source code on your company’s web site don’t cost that much to it!
At last, your company might buy a different license of Qt.