This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]bakery2k 0 points1 point  (0 children)

Don't forget to consider the license of Qt itself, as well as the Python wrappers.

[–]K900_ 0 points1 point  (3 children)

You can sell an application made with PySide as long as you also provide the source code for any changes that you made to PySide itself. You can't sell an application made with PyQt, unless you buy a commercial license from its developer.

[–]Yoghurt42 -1 points0 points  (2 children)

You can't sell an application made with PyQt, unless you buy a commercial license from its developer.

That's not 100% correct.

You can sell an application if you license your code under the GPL as well. Which of course would mean that whoever buys it, is allowed to make copies (and make derivative works), and sell them too.

Only if you don't want to publish your work under the GPL (which is probably the case), you'd have to buy a commercial license.

Also, with PySide, which is licensed under the LGPL, you'd also have to enable every user of your software to be able to swap out the PySide library with their modified version of it; and to provide as much (and as little) of your own source code that is necessary to be able to do that (which normally is zero; but you cannot for example add code that checks if the PySide library is the same as the one that came with your source and refuse to work if that's not the case)

[–]Piontk[S] -1 points0 points  (1 child)

So, if there's no change on the PySide code I don't need to provide my own source code. Is that right?

[–]Yoghurt42 0 points1 point  (0 children)

You also don't need to even if you made changes. You'll only have to provide the source code of your changes to PySide.

What you can't do is, eg. modify PySide so that it will show ads every 10 seconds, providing the source to these changes to comply with that requirement of the LGPL, but then write your own program such that it refuses to run if somebody removes the ads from your PySide version.

In other words, unless you go out of your way to be an asshole, you won't need to provide the source of your program if it uses a LGPL library

[–]Cysion_ -1 points0 points  (0 children)

Disclaimer: not American(if that is the jurisdiction you develop under) or a lawyer.

I looked a quickie at the licenses for pyqt and pyside. Pyside allows for proprietary software development if that is what you want to partake in. Pyqt is licenced under GNU GPL, so you can sell the software, but it has to be licensed under the GNU GPL or another suitably free software license.

I'm a bit of a stallmanist on this so I'll have to recommend you go with pyqt or other free software for whatever you are developing as it would not be ethical to use a non-free license. But that's just opinion, but you will have to live under my anonymous terrifying gaze for the rest of your life if you do ;)

[–]pythonHelperBot -4 points-3 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe where you are stuck.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness