[Qgis-developer] QGis.QGIS_VERSION_INT not defined for master: breaks plugins
Nyall Dawson
nyall.dawson at gmail.com
Fri Jul 29 20:12:41 PDT 2016
On 30 Jul 2016 13:01, "Nathan Woodrow" <madmanwoo at gmail.com> wrote:
>
> I think we need to rename the .qgis2 folder to .qgis-dev or .qgs3 so we
don't break old plugins.
>
> I will do this tonight.
Go .qgis-dev, so we can reset when 3 is finalised.
Nyall
>
> On Sat, Jul 30, 2016 at 3:39 AM, Richard Duivenvoorde <rdmailings at duif.net>
wrote:
>>
>>
>> Hi,
>>
>> This commit
>>
https://github.com/qgis/QGIS/commit/1a2231f10c65c2bef992e02046baebf3bc4975f6
>>
>> in master renames 'QGis' to 'Qgis', bringing more consistency in
>> capitalization, which is good \o/
>>
>> But it breaks some Python plugins, which (often to be backwards
>> compatible) check for: "QGis.QGIS_VERSION_INT". These now all throw
>> exceptions that QGis is not available.
>>
>> Some notable plugins:
>>
>> plugin_reloader, some of mine, timemanager, qconsolidate, but a lot
more...
>>
>> Off course the plugins should be fixed (because of this and other api
>> breaks), but I still wonder how to proceed:
>> - try to make (my) plugins work for both (some 'import QGis as Qgis'
>> within a try clause.
>> - not update 2.x versions anymore, and focus on 3.0
>>
>> Easiest for me/other plugin devs is the second option, BUT we need a
>> clear path then for the two different ('latest') versions which should
>> be available then at plugins.qgis.org
>> Not sure if plugins-site can handle this already (Alessandro?)?
>>
>> Or is there another alternative, or plan?
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160730/3fb5fdc9/attachment.html>
More information about the Qgis-developer
mailing list