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 list
[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