我可以使用 Qt LGPL 许可证并且不受任何限制地销售我的应用程序吗?

我想开始一个跨平台的项目。我已经研究过了,现在我几乎可以肯定 QT 是正确的交易。但这里有一个很大的障碍: 许可证

我想出售我的项目,我也不想给出任何来源相关的我的工作或支付许可证。我查看并注意到 Qt 同时提供商业和开源解决方案。关于 Qt 许可,我听到了太多相互矛盾的说法,这让我很困惑。有人说,即使我使用 Qt 的 LGPL 版本,我仍然需要提交我的代码。这是真的吗?

有人能给我一个简单的解释 Qt 许可证,并告诉我,如果我可以卖我的应用程序没有任何种类的限制或没有?有人能告诉我任何其他类似于 Qt 的跨平台开发没有任何限制吗?

47977 次浏览

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.

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.

Of course, there's more to the LGPL than just this, but that's the relevant part.