Either I'm misunderstanding what you want to do, or you clearly aren't allowed to do it.
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.
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?
发布评论
评论(2)
要么我误解了你想要做什么,要么你显然不被允许这样做。
你说你想“在我的项目中包含 Qt 代码”,这意味着你想将整个库(或你正在使用的所有部分)链接到你自己的模块中,而不是将其保存在单独的 DLL 中。
但条款规定您可以“合并头文件中的材料”(我的重点)而不是主库。
他们说“只要合并的材料 (i) 不超过图书馆总规模的 5%”,而不是整个图书馆。
他们说“仅限于数字参数、数据结构布局、访问器、宏、内联函数和模板”,不是库的任何主要代码。
对我来说似乎很明显,但我是否误解了什么?
Either I'm misunderstanding what you want to do, or you clearly aren't allowed to do it.
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.
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?
如果您想在 LGPL 条款下使用 Qt 解决方案的任何组件,则必须将其构建为 DLL。修改与否并不重要。
Any component of the Qt solutions must be built as a DLL if you want to use it under LGPL terms. It doesn't matter whether you modify it or not.