Qt LGPL 许可证异常?

标签 qt licensing lgpl

<分区>

我正在使用 Qt/Mfc Migration Framework开始将一些 UI 代码从 MFC 转换为 Qt。我想知道我是否绝对必须将 Qt 迁移代码保存在一个单独的库中,或者是否可以将它包含在我的项目中。为此,我必须稍微修改它(例如添加 #include "stdafx.h"并更改其他一些包含路径)。同样用于迁移框架的 Qt LGPL 异常如下:

Nokia Qt LGPL Exception version 1.0

As a special exception to the GNU Lesser General Public License version 2.1, the object code form of a "work that uses the Library" may incorporate material from a header file that is part of the Library. You may distribute such object code under terms of your choice, provided that the incorporated material (i) does not exceed more than 5% of the total size of the Library; and (ii) is limited to numerical parameters, data structure layouts, accessors, macros, inline functions and templates.

我会触发许可证还是我仍然处于绿色状态?

最佳答案

要么我误解了你想做什么,要么你显然不被允许这样做。

你说你想“在我的项目中包含 Qt 代码”,这意味着你想将他们的整个库(或你正在使用的所有部分)链接到你自己的模块中,而不是将它保存在一个单独的 DLL。

但是术语说您可以“合并来自头文件的 Material ”(我强调)而不是主库。

他们说“前提是纳入的资料 (i) 不超过图书馆总规模的 5%”,不是整个图书馆。

他们说“仅限于数字参数、数据结构布局、访问器、宏、内联函数和模板”,不是库的任何主要代码。

对我来说似乎很明显,但我是否误解了什么?

关于Qt LGPL 许可证异常?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1356918/

相关文章:

c++ - 将数据发送到另一个表单上的小部件

java - 使用 GNU 宽松通用公共(public)许可证下的库时对我的项目施加的限制

c++ - Qt 为未找到的 Windows 应用程序 .rc 文件设置应用程序图标

c++ - 信号上的 QT 未定义引用编译错误

twitter-bootstrap - Bootstrap : do I need licence to distribute project of bootstrap responsive design?

vb.net - 通过访问硬盘序列号来保护软件

c# - 磁盘驱动器签名是唯一的吗?

licensing - 商业GPL:限制源代码访问

eclipse - 如何将 LGPL 库捆绑到基于 Eclipse 的商业应用程序中?

qt - 如何从 ListView 中获取第一个可见项目/索引?