Hi Denis,

Thanks for your answer but this is not better...

If I manually enable / disable the checkbox, I can see both result with:
s.value("Qgis/plugin-installer/allowExperimental")
s.value("/qgis/plugin-installer/allowExperimental")

Do you know if there is something else to do to allow experimental plugins?

Thanks.

Rémi

2014-09-11 15:28 GMT+02:00 Denis Rouzaud <[email protected]>:

>  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 
> [email protected]http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to