Qt LGPL许可例外? [英] Qt LGPL license exception?

查看:255
本文介绍了Qt LGPL许可例外?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Qt/Mfc迁移框架开始将一些UI代码从MFC转换为Qt.我想知道我是否绝对必须将Qt迁移代码保存在单独的库中,或者是否有可能将其包含在我的项目中.为了做到这一点,我将不得不对其进行一些修改(例如,添加#include"stdafx.h"并更改其他一些include路径). Qt LGPL异常(也用于迁移框架)显示为:

I'm using the Qt/Mfc Migration Framework to begin to convert some UI code from MFC to Qt. I'm wondering whether I absolutely have to keep the Qt migration code in a seperate library or if it would be possible to include it in my project. In order to do that, I would have to modify it slightly (add #include "stdafx.h" for example and change some other include paths). The Qt LGPL exception, which is also used for the migration framework, reads:

诺基亚Qt LGPL例外版本1.0

Nokia Qt LGPL Exception version 1.0

作为GNU次通用公共许可证的特殊例外 版本2.1,使用库的作品"的目标代码形式 可能包含来自标头文件的资料,该标头文件是 图书馆.您可以根据您的条款分发此类目标代码 选择,条件是掺入的材料(i)不超过 超过图书馆总面积的5%; (ii)限于 数值参数,数据结构布局,访问器,宏, 内联函数和模板.

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.

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

Would I trigger the license or am I still in the green?

推荐答案

我是误解了你想做什么,或者显然你是不允许这样做的.

Either I'm misunderstanding what you want to do, or you clearly aren't allowed to do it.

您说要在我的项目中包括Qt代码",这意味着您要将其整个库(或您正在使用的所有片段)链接到自己的模块中,而不是将其保留在一个模块中.单独的DLL.

You say you want to "include the Qt code in my project", which implies you want to link the whole of their library (or all the pieces you're using) into your own module, rather than keeping it in a separate DLL.

但是这些术语说,您可以合并头文件中的内容"(我的重点是不是主库.

But the terms say you can "incorporate material from a header file" (my emphasis) not the main library.

他们说:前提是合并的资料(i)不超过图书馆总容量的5%",而不是整个图书馆.

And they say "provided that the incorporated material (i) does not exceed more than 5% of the total size of the Library", not the whole library.

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

And they say "limited to numerical parameters, data structure layouts, accessors, macros, inline functions and templates", not any of the main code of the library.

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

Seems blatantly obvious to me, but have I misunderstood something?

这篇关于Qt LGPL许可例外?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆