I wrote a library that is indeed a subclass of QTreeView. So easily I can attach it to any Qt application that uses QTreeView.

I want to patch a GPL application (GPL_APP) in a way that it searches for my library and if it exists then load it, but if it is not found, GPL_APP will continue to work without it.

I will publish them separately, GPL_APP will released with its full source-code, but library will be closed source.

The library in theory is usable with other applications, but as there is no another application with needed interface to load my library so GPL_APP is the only application that can use my library, and therefore I know in first place that users will combine them.

Is this violating GPL?

Sorry for my bad English.

  • Do you own the GPL application or is that written by someone else? – Bart van Ingen Schenau Sep 16 '18 at 15:29
  • No. GPL_APP is written by someone else and also uses codes from some other GPLed applications by other developers. – user13113 Sep 16 '18 at 17:30
  • Yeah, thanks for link. Well, indeed I want to know the last statement in that page A main program that is separate from its plug-ins makes no requirements for the plug-ins. is applicable when I release them separately and application can work separately, while my goal is that users download and combine them? – user13113 Sep 17 '18 at 7:46
  • @user13113 According to GNU project, linking a plug-in using dynamic linking makes that plug-in an extension of the main program. In other words, they would not be considered separate programs in that case. – Brandin Sep 18 '18 at 12:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.