TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Qt license questions

1 点作者 ilSignorCarlo大约 16 年前
Hi, I'm working on a commercial software in c++ a Qt with other two developers.<p>We need to sell the software and distribute it with closed source.<p>We have just some doubts abot the Qt license. The commercial one costs just too much for us, so it is excluded. The GPL require that we distribute the source code.<p>What about the LGPL? Are we able to keed the source closed and sell the software? Which are the restrictions? I've read something about static linking, but I'm not sure what it means.<p>Thanks for your help, Carlo

1 comment

mcav大约 16 年前
With the LGPL, you can keep your own code closed-source, but you must dynamically link the QT library. That means that your program must require QT's DLL file to run. If your program still works without QT's DLL file present on your system, you've statically linked it, which you <i>cannot</i> do with the LGPL.<p>The rationale behind it is that your end-users should be able to use a <i>different</i> QT DLL instead -- e.g. if they wanted to recompile QT themselves and use their compiled version with your program.<p>(IANAL)
评论 #511070 未加载