問題描述
我想開始一個跨平臺的項目.我進行了研究,現在我幾乎可以肯定 Qt 是正確的交易.不過這里有一個很大的障礙:許可.
I want to start a cross-platform project. I had my researches and now I am almost certain Qt is the right deal. There is a big obstacle here though: licensing.
我想出售我的項目,而且我也不想透露與我的工作相關的任何來源或支付許可費用.我檢查并注意到 Qt 提供商業和開源解決方案.我聽過太多關于 Qt 許可的相互矛盾的說法,這讓我很困惑.有人說即使我使用LGPL版本的Qt,我仍然需要提交我的代碼.這是真的嗎?
I want to sell my project and I also don't want to give out any source related to my work or pay for a license. I checked and noticed Qt offers both commercial and open source solutions. I have heard too many conflicting sayings on Qt licensing which confused me a lot. Some say that even if I use LGPL version of Qt, I still need to submit my code. Is this true?
誰能給我一個關于 Qt 許可證的簡單解釋,并告訴我我是否可以在沒有任何限制的情況下出售我的應用程序?有沒有人能告訴我 Qt 的任何其他等價物,用于跨平臺開發,沒有任何限制?
Can someone give me a simple explanation on Qt licenses and tell me if I can sell my application without any kind of restrictions at all or not? Would anyone tell me any other equivalents to Qt for cross-platform development without any restrictions?
推薦答案
只需動態鏈接到 Qt.如果您動態鏈接到 LGPL 庫,則無需擔心.
Just dynamically link to Qt. If you dynamically link to LGPL libraries, there's nothing to worry about.
如果你靜態鏈接到它們,你可以只分發你的目標文件(而不是你的源代碼),你會沒事的.
If you statically link to them, you can just distribute your object files (not your source code), and you'll be fine.
LGPL 的想法是最終用戶必須能夠用他們想要的版本替換 LGPL 庫.動態鏈接到 LGPL 庫可以讓您做到這一點,就像靜態鏈接和分發您的目標文件一樣.只要你這樣做,你就可以隨心所欲地出售你的閉源程序.
The idea of the LGPL is that the end user has to be able to replace the LGPL library with a version they want. Dynamically linking to the LGPL library lets you do that, as does statically linking and distributing your object files. So long as you do this, you can sell your closed source program all you want.
當然,LGPL 不僅限于此,但這是相關的部分.
Of course, there's more to the LGPL than just this, but that's the relevant part.
這篇關于我可以使用 Qt LGPL 許可證并在沒有任何限制的情況下出售我的應用程序嗎?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!