2 ms·
> There's a misconception that you can't statically link your app when using the open-source LGPL version of Qt. From my reading of the LGPL license this doesn'
by self_awareness 10mo ago
> There's a misconception that you can't statically link your app when using the open-source LGPL version of Qt. From my reading of the LGPL license this doesn't appear to be the case. The LGPL allows you to statically link your app as long as you provide the object files and allow users to relink your app with a different version of Qt. I've observed many people spreading this misinformation about only being able to dynamically link with the LGPL version of Qt.
I mean... is it possible to statically link while giving an option to re-link an application using different set of libraries?
- pwdisswordfishy 10mo agoYes, of course.
- self_awareness 10mo agoBy calling dlopen() in runtime? Or how exactly?
- Liquid_Fire 10mo agoThe answer is linked to by the section of the article you quoted: > (1) If you statically link against an LGPLed library, you must also provide your application in an object (not necessarily source) format, so that a user has the opportunity to modify the library and relink the application. And also answered directly in the section you quoted: > as long as you provide the object files and allow users to relink your app with a different version of Qt
- 1718627440 10mo agoBy linking the provided proprietary object files with Qt compiled from source.