Remix.run Logo
self_awareness 10 hours 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 9 hours ago | parent [-]

Yes, of course.

self_awareness 9 hours ago | parent [-]

By calling dlopen() in runtime? Or how exactly?

Liquid_Fire 7 hours ago | parent | next [-]

The 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 5 hours ago | parent | prev [-]

By linking the provided proprietary object files with Qt compiled from source.