TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Qt license questions

1 pointsby ilSignorCarloabout 16 years ago
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

mcavabout 16 years ago
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 未加载