boost - 许可要求(Boost、Qt Creator)

标签 boost licensing qt-creator

<分区>

我对使用许可库/软件的确切规则感到有点困惑。我使用 Boost 库和 MSVC 10 编译器在 Qt Creator 中生成了一个小型 C++ 程序。我无意出售此软件,但我可能会在某个时候将其发布到互联网上。这是否意味着我必须根据 Boost 许可和 LGPL(由于 Qt Creator)许可它,或者这不需要?我并不反对这样做,但我想更好地理解这些规则,并且无法在 Google 或 Stack Overflow 上找到通俗易懂的英语“可以做什么和不能做什么”。

最佳答案

Qt Creator 已获得 LGPL 许可。所以,如果你使用了动态链接,你就不用担心Qt了。

你没有问题,如果你...

  • 使用原始的qt库,

  • 随您的应用程序分发 dll 文件,

  • 不要将这些dll 文件编译到您的exe 文件中。

请检查这个问题:Qt, LGPL, Commercial closed-source application


Boost 有自己的许可证,名为 Boost License。

来自 Boost 网站:

if you distribute your own code along with some Boost code, the Boost license applies only to the Boost code (and modified versions thereof); you are free to license your own code under any terms you like.

来自 Boost 许可证:

The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.

这意味着如果您没有对原始 Boost 库进行任何更改,您只需需要在您的代码中包含 Boost 许可证文件。这是您唯一的限制。


关于Visual C++请查看这里: Visual Studio Express 2010 license

关于boost - 许可要求(Boost、Qt Creator),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12040682/

相关文章:

c++ - 在 C++ 中返回局部变量的引用和标准指针的替代方法是什么?

apache - 我可以在商业发行的游戏中使用 Apache License 2.0 下的字体吗?

qt - 如何加入运行 mainWindow 类(Principal)中的函数的线程?

c++ - CMake 链接 Boost : cannot find -lboost_program_options

c++ - 可能未初始化的局部指针变量 'v',用于boost同构。

c++ - 我可以使用共享内存或其他 IPC

cocoa - 减少我的应用程序破解(cocoafob)

licensing - 请问在闭源(以营利为目的)项目中我可以使用开源代码做什么和不能做什么?

qt - 如何访问在 QtCreator Designer 中创建的 QLabel?

c++ - 如何配置项目的 CMakeLists.txt 文件以在 Qt Creator 中将项目分开而不是一个项目