[PyQt] Licensing PyQt

Phil Thompson phil at riverbankcomputing.com
Wed Aug 14 09:36:34 BST 2019


On 14/08/2019 09:23, Adrian Sochacki wrote:
> Hey,
> I have trouble understanding the GNU GPL v3 licenese in combination of 
> PyQt.
> Riverbank says himself:
> "PyQt is dual licensed on all supported platforms under the GNU GPL v3 
> and
> the Riverbank Commercial License."(
> https://riverbankcomputing.com/software/pyqt/intro)
> Do I have to treat my script under the GNU GPL v3 license the moment I
> import the PyQt module into my script?

Yes.

> I want to write a .ui file for my python sript and would want to treat 
> the
> .ui file with the GNU GPL v3 license and my own written script 
> differently
> if it is possible. Then I would load the .ui file via my script.

You would have to dual license your .ui file so that you could use it in 
your script without the GPL infecting it. Other users of the .ui file 
could then only use it in GPL-compatible code (I assume that is your 
intent). As your own script would not have a GPL-compatible license 
(otherwise what's the point?) you would need a commercial PyQt license.

Phil


More information about the PyQt mailing list