c++ – How do I correctly set the LGPL for a Qt release program?


I just want to know if I'm thinking right. Suppose I created a release exe file, placed the necessary Qt libraries to run in the folder. The program is licensed under the LGPL. I drop the license file LICENSE.txt with a description of the license into the program folder http://www.gnu.org/licenses/lgpl.html .

  1. Is this enough to distribute the program?
  2. I want to add my own terms additionally, for example: "This software is used by you at your own peril and risk. The author is not responsible for possible unwanted consequences in case of using this software." Well, I also want to write something like that access to your file system will not be used by hackers, etc. I will of course translate everything into English. Is that generally correct?
  3. And Inno Setup make an installer with this license file.


Is this enough to distribute the program?

Not enough. Briefly point by point:

  1. Qt does not use LGPL , but LGPLv3 – this is important!
  2. According to LGPLv3 4 of the LGPLv3 , in addition to placing the text of the original (without translation) license, you need to add a link / paragraph to the executable file, which contains a mention of the use of the library and the license, as well as a link / paragraph by which the license text will be available from the application … This is usually done in the "About" dialog. And it is better to independently study this clause of the license and fulfill all its requirements, there are not many of them.
  3. You can distribute the program under several licenses at the same time, for example, LGPLv3 and your own. Note, however, that you must ensure that there are no license conflicts. In other words, there should not be a single mutually exclusive requirement between all licenses at the same time. However, you have the right to prohibit assumptions from other licenses (to impose your own consistent requirements).

I will of course translate everything into English

You are free to leave your license in any language. But there is a nuance. Only a license in one language (this is original) is considered a valid license. What kind of language it will be is up to you.

Scroll to Top