[Qgis-developer] Allow experimental plugins

Denis Rouzaud denis.rouzaud at gmail.com
Thu Sep 11 06:37:38 PDT 2014


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
>> 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/20140911/22776586/attachment-0001.html>


More information about the Qgis-developer mailing list