[Qgis-developer] Programmatically enable a python plugin.

Stefan Kiefer st_kiefer at web.de
Thu Apr 8 11:33:34 EDT 2010


For me it worked like this:

settings=QSettings()
settings.setValue('PythonPlugins/yourplugin', QVariant(True))

where you must replace "yourplugin" with the class name of your plugin
in lower case!

cheers

Stefan

Am Donnerstag, den 08.04.2010, 14:23 +0200 schrieb
luca_manganelli at comune.trento.it:

> How can I enable another python plugin from my python plugin?
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100408/77ceec4d/attachment.html


More information about the Qgis-developer mailing list