[PySide] LGPL licensing obligations

Elvis Stansvik elvstone at gmail.com
Wed Jan 11 08:49:26 CET 2023


Den ons 11 jan. 2023 01:34David Ching <dc at dcsoft.com> skrev:

> Hello,
>
> I am preparing to deploy an application which has a dependency on Qt for
> Python, which I am licensing under the LGPL license.  I have not found any
> specific documentation on how to do this.  In the Qt Licensing FAQ at
> https://www.qt.io/faq/tag/qt-open-source-licensing?hsLang=en, it says:
>
> "You will need to deliver the complete source code of Qt libraries you
> used,
> including all modifications you did or applied, to your users/customers.
> Alternatively, you need to provide a written offer with instructions on how
> to get the source code. Please also note that this has to be under your
> control, so a link to the source code provided by the Qt Project or Qt
> Company is not sufficient."
>
> How would I distribute the source code to "Qt for Python"?  Is that even
> available?  I just install the pyside6 wheel, I've never dealt with any
> source code for the Python Qt wrappers.
>
> In addition to whatever source code I need for "Qt for Python", do I also
> need to deliver the Qt C++ code available at
> https://www.qt.io/offline-installers?  I am using Nuitka to bundle and
> distribute the app, and modules like QT6GUI.DLL are included in the bundle.
> Do I need to distribute the C++ source to QtGui?
>

I am not a lawyer, but yes. Or, like the FAQ says, provide a written offer
with instructions how to get it.

Note that I don't think this applies if you are not distributing Qt or Qt
for Python, but since you are bundling it with your application, you are
distributing it.

As for what source code goes into the different DLLs you are distributing,
you have to do some digging.

Probably easiest to start by looking at how the pyside2 wheel is built,
probably the recipe for that is available in some Qt Git repo (some pyside2
dev can probably answer).

Note also that Qt itself bundles some third party software, which are under
different licenses, and you have to adhere to them too. I think they are
all permissive licenses I think, so often a copyright notice suffices. I
think Qt has a page listing what they bundle but don't have the URL off
hand.

Elvis


> Thank you for any enlightenment!
>
> -- David
>
>
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> https://lists.qt-project.org/listinfo/pyside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20230111/f7950754/attachment.htm>


More information about the PySide mailing list