Re: [QGIS-Developer] QGIS3: Can two different plugins have a common processing provider?

2018-08-10 Thread Tejas L
. Would be great If you have a working snippet. From: Nyall Dawson Sent: Friday, August 10, 2018 5:20 AM To: tej...@live.com Cc: qgis-developer Subject: Re: [QGIS-Developer] QGIS3: Can two different plugins have a common processing provider? On Fri, 10 Aug 2018 at 02

Re: [QGIS-Developer] QGIS3: Can two different plugins have a common processing provider?

2018-08-09 Thread Nyall Dawson
On Fri, 10 Aug 2018 at 02:31, Tejas L wrote: > > Hello! > > We are releasing multiple QGIS3 plugins, each with their own processing > algorithms. We would like the processing algorithms of these plugins to > appear under a single Processing provider in the Processing toolbox. How can > we

Re: [QGIS-Developer] QGIS3: Can two different plugins have a common processing provider?

2018-08-09 Thread Etienne Trimaille
I would say: At plugin load time, check if your other plugins are already loaded. If yes, don't load the processing provider, it's already loaded by the first loaded plugin. You need to use the same provider name (id). So your models won't be broken. Don't forget to update each processing

[QGIS-Developer] QGIS3: Can two different plugins have a common processing provider?

2018-08-09 Thread Tejas L
Hello! We are releasing multiple QGIS3 plugins, each with their own processing algorithms. We would like the processing algorithms of these plugins to appear under a single Processing provider in the Processing toolbox. How can we achieve this? Regards, Tej