Hacker News new | ask | show | jobs
by rubymamis 824 days ago
Exactly! There's always misunderstanding about Qt's license that I believe they should make the LGPL license clearer on their website. I believe many developers are struck down because they think it's not permissive enough where actually it's quite permissive.
2 comments

Some of it might be misunderstanding, but complication of distribution may also play a role. Making sure that your application is correctly dynamically linked and packaged to run without issues across all supported platforms and configurations can be considerably more involved than statically linking depending on the toolchain in question.

Which on that note, last I knew getting Qt apps correctly stripped and packaged for all platforms was a bit of a bear. In particular I remember building Mac application bundles being messy.

This is true, but then again, these days, it's easy to look up at a popular open source Qt app and copy its CI recipes. For example, anyone that wants recipes for creating binaries for multiple operating systems can copy the GitHub workflows in my open source note-taking app: https://github.com/nuttyartist/notes/tree/master/.github/wor...

That said, I really think Qt should have a separate commercial license that is exactly like LGPL but allows you to link statically and costs much less (without all the enterprisy things).

One problem with Qt is that some modules are under the GPL and it is easy to end up inadvertently with a GPL dependency. Also it seems the Qt company makes it confusing on purpose.
> Also it seems the Qt company makes it confusing on purpose.

Yes, things have changed. So annoying you can't just download an offline installer using a mirror of your choice, for example.

> One problem with Qt is that some modules are under the GPL and it is easy to end up inadvertently with a GPL dependency.

I never encountered such a problem, the GPL modules always seemed very niche and targeted toward specific industries (automobile, etc).