<div dir="ltr"><div><div><div><div><div>Hi !<br><br></div>We tried our best to convince some partners to base some of their work on QGIS, but they are not ready for open-source yet.<br><br>Thus, I started looking into license requirements for QGIS plugins. But the more I read, the more I get confused.<br><br></div>I found this blog post [1] which very clearly states plugins must comply to GPL-2. <br></div></div><div>This is confirmed by the gpl faq [2] since I think a QGIS plugin and QGIS have a fairly "intimate" relationship in terms of "exchanging complex data structures back and forth" (sounds hot :-D ).<br><br></div><div>Then, I found this [3] saying it's possible to use closed external tools, such as file based exchanges from/to external applications.<br><br>So if they build a GPL-licensed plugin calling a proprietary executable, how external would that latter executable need to be to comply to GPL ?<br></div><div>- could it be shipped with the plugin, in the plugin repo ?</div>
<div>- if not, could it be dynamically downloaded by the plugin in the background ?</div>

<div>
<div>- if not, could it be downloaded by the plugin with some kind of user interaction (e.g. copy/paste a link) ?</div>

</div><div>- if not, could it be manually downloaded by the user and placed somewhere ?<br></div><div><br></div>And then, as far as I understand GPL-2, the requirements only apply when you distribute the software, which means you can keep all the code for yourself. When is it considered that the software is distributed ?<br></div><div>- if they distribute it only to users inside their organization ?</div><div>- if they distribute it only to users from partner organizations ?<br></div><div>- if it's not considered distributed when it's done only internally, can they have internal agreements to prevent internal users from distributing the software ?<br></div><div><div><br></div>Thank you very much in advance for these clarifications !<br><br>And sorry if this is not the best place to ask basic GPL questions... But the topic is very complex, and it seems integrating GPL/propritery software is always an edge case. Maybe we could add some vulgarized information about this in the pyqgis cookbook ?<br><br></div><div>Kind regards,<br><br></div><div>Olivier<br><br></div><br>[1] 
<a href="http://blog.qgis.org/2016/05/29/licensing-requirements-for-qgis-plugins/">http://blog.qgis.org/2016/05/29/licensing-requirements-for-qgis-plugins/</a>

<br>[2] 
<a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#GPLAndPlugins">https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#GPLAndPlugins</a>

<br><div><div>[3] <a href="https://gis.stackexchange.com/a/61069">https://gis.stackexchange.com/a/61069</a><br></div></div></div>