Many parts of the code, in various ways, often contain an extensive license agreement at the beginning of the files. A vivid example is the Qt library.

When publishing, exchanging, forwarding, such provision of information is inconvenient, especially if the text of the license agreement is larger than the code itself.

Question

Is there a legal way to remove the text of the license agreement to more other places so as not to infringe upon the rights of the authors, and, in fact, not to violate thereby the same agreements?

Examples offhand

  • cut the agreement text, copy it into a separate file and distribute it as an archive, i.e. code file (s) + license agreement text file
  • provide a self-written "viewer" that can hide the text of the license agreement under the spoiler
  • etc ...

Any info, except "imkho-s" interests.

  • one
    If you use JetBrains products (resharper for a studio, or IDE such as Idea, PHPStorm, etc.) - there is something like the #region RegionName , then the code you want to hide-reveal, #endregion . After adding to the code, arrows to the left will show arrows to hide the regions. Although, in theory, if you use these products, you can already hide it there. - A1essandro
  • Alas, while I use only QtCreator, well, Far / Midnight Commander. - Majestio

0