我可以使用 Qt LGPL 许可证并在没有任何限制的情况下出售我的应用程序吗?
我想开始一个跨平台的项目.我进行了研究,现在我几乎可以肯定 Qt 是正确的交易.不过这里有一个很大的障碍:许可.
I want to start a cross-platform project. I had my researches and now I am almost certain Qt is the right deal. There is a big obstacle here though: licensing.
我想出售我的项目,而且我也不想透露与我的工作相关的任何来源或支付许可费用.我检查并注意到 Qt 提供商业和开源解决方案.我听过太多关于 Qt 许可的相互矛盾的说法,这让我很困惑.有人说即使我使用LGPL版本的Qt,我仍然需要提交我的代码.这是真的吗?
I want to sell my project and I also don't want to give out any source related to my work or pay for a license. I checked and noticed Qt offers both commercial and open source solutions. I have heard too many conflicting sayings on Qt licensing which confused me a lot. Some say that even if I use LGPL version of Qt, I still need to submit my code. Is this true?
谁能给我一个关于 Qt 许可证的简单解释,并告诉我我是否可以在没有任何限制的情况下出售我的应用程序?有没有人能告诉我 Qt 的任何其他等价物,用于跨平台开发,没有任何限制?
Can someone give me a simple explanation on Qt licenses and tell me if I can sell my application without any kind of restrictions at all or not? Would anyone tell me any other equivalents to Qt for cross-platform development without any restrictions?
推荐答案
只需动态链接到 Qt.如果您动态链接到 LGPL 库,则无需担心.
Just dynamically link to Qt. If you dynamically link to LGPL libraries, there's nothing to worry about.
如果你静态链接到它们,你可以只分发你的目标文件(而不是你的源代码),你会没事的.
If you statically link to them, you can just distribute your object files (not your source code), and you'll be fine.
LGPL 的想法是最终用户必须能够用他们想要的版本替换 LGPL 库.动态链接到 LGPL 库可以让您做到这一点,就像静态链接和分发您的目标文件一样.只要你这样做,你就可以随心所欲地出售你的闭源程序.
The idea of the LGPL is that the end user has to be able to replace the LGPL library with a version they want. Dynamically linking to the LGPL library lets you do that, as does statically linking and distributing your object files. So long as you do this, you can sell your closed source program all you want.
当然,LGPL 不仅限于此,但这是相关的部分.
Of course, there's more to the LGPL than just this, but that's the relevant part.
相关文章