[Qgis-developer] Allow experimental plugins

Rémi Bovard remi.bovard at gmail.com
Thu Sep 11 07:18:25 PDT 2014


After looking to the code [1], it's this setting which is read:

"/Qgis/plugin-installer/allowExperimental"

It's really strange...

[1]
https://github.com/qgis/QGIS/blob/master/python/pyplugin_installer/installer_data.py#L735

2014-09-11 15:37 GMT+02:00 Denis Rouzaud <denis.rouzaud at gmail.com>:

>  Sorry, looking in the debugger shows:
>
> s.setValue("/Qgis/plugin-installer/allowExperimental", True)
>
> so the first slash was missing.
>
>
> On 11.09.2014 15:28, Denis Rouzaud wrote:
>
> Hi Rémi,
>
> On 11.09.2014 14:39, Rémi Bovard wrote:
>
> Hi list,
>
>  I'm trying to allow experimental plugins via a Python script and it
> doesn't work.
>
>  Here is the code:
>
>  from PyQt4.QtCore import QSettings
> s = QSettings()
> s.setValue("Qgis/plugin-installer/allowExperimental", True)
>
> not sure, but try lowercase + first slash:
>
> s.setValue("/qgis/plugin-installer/allowExperimental", True)
>
> is this better?
>
>
>  What am I doing wrong?
>
>  Thanks in advance.
>
>  Rémi
>
>
> _______________________________________________
> Qgis-developer mailing listQgis-developer at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140911/cde43ea1/attachment.html>


More information about the Qgis-developer mailing list