Re:QtNotepad: Super lightweight and super simple notepad app...
by rootlocus on Sunday February 10, 2019 @04:25AM
(#19127046)
From what I remember you need a commercial license to link QT statically so it's unavoidable. I'm guessing linux reuses the shared library, but apps on windows usually ship all DLLs alongside the binary.
[ Parent
| on HN ]
Re:QtNotepad: Super lightweight and super simple notepad app...
by jchw on Sunday February 10, 2019 @04:43AM
(#19127087)
Qt for X11 was GPL since at least Qt 3, which certainly means you could legally link it with other GPL sources in any manner. I believe Qt 4 went LGPL for all platforms, so now I believe you can link it with pretty much anything that's open source, and dynamically link proprietary applications.
I am not a lawyer and some people disagree with how to interpret the rules of linking, but I think this is mostly the conventional wisdom.
Re:QtNotepad: Super lightweight and super simple notepad app...
by seba_dos1 on Sunday February 10, 2019 @07:06AM
(#19127469)
You can link statically LGPL to anything, as long as you provide a way to relink by the user - so, .a or .o files available for download are enough.
Re:QtNotepad: Super lightweight and super simple notepad app...
by IshKebab on Sunday February 10, 2019 @04:48AM
(#19127099)
A commercial license, or you license your code as GPL or LGPL.
Re:QtNotepad: Super lightweight and super simple notepad app...
by beojan on Sunday February 10, 2019 @05:43AM
(#19127246)
> apps on windows usually ship all DLLs alongside the binary
Can someone tell me why this is the case? Beyond simply not having a package manager to do dependency resolution. You lose most of the benefits of shared libraries if you do this.
This is probably why dynamic linking appears to be decidedly a second-class citizen with Rust and co.
Re:QtNotepad: Super lightweight and super simple notepad app...
by setr on Sunday February 10, 2019 @06:00AM
(#19127290)
Afaik, they ship installers usually, not simply a dll binary for their local use; if its installed systemwide, no installation occurs, and if not, its installed system-wide. But the system’s copy is used generally, in either case.
Re:QtNotepad: Super lightweight and super simple notepad app...
by CamperBob2 on Sunday February 10, 2019 @06:10AM
(#19127321)
Can someone tell me why this is the case?
Because hard disk space is dirt cheap and my time and sanity are not.
Re:QtNotepad: Super lightweight and super simple notepad app...
by dman on Sunday February 10, 2019 @05:48AM
(#19127251)
I dont believe you have to provide source - https://www.gnu.org/licenses/gpl-faq.html#LGPLStaticVsDynami...