[Qgis-developer] QGIS 2 and 3 Python compatibility plugin

Marco Bernasocchi marco at opengis.ch
Mon Sep 19 08:26:21 PDT 2016


I hSorry, I had the wrong url for the plugin
the correct one is (all lower case, non QGIS2compat):
http://plugins.qgis.org/plugins/qgis2compat/

to the 30 people that already downloaded it. sorry you'll have to reload
the qgis repository in te settings.

ciao
Marco
On 19.09.2016 16:39, Marco Bernasocchi wrote:
> Hi all, sorry for cross posting, but I guess porting plugins to QGIS3 is
> a very wide topic.
>  
> I'd like to make you aware of a plugin that we just released that gets
> you to write your python plugins code only once and get QGIS 2.8 - 3 and
> PyQt4 -5 support.
> 
> QGIS2compat targets two main use cases.
> 
> PyQt compat
> If you still need to rely on QGIS < 2.14 writing from qgis.PyQt will not
> work for you as the qgis.PyQt package is simply not there. And this is
> one of the two use case where QGIS2compat can help you. This feature is
> complete.
> 
> QGIS 2-3 API compatibility
> The other use case of QGIS2compat plugin is the availability of a QGIS
> API compatibility layer which lets you write your code for QGIS 3 API
> and it will take care of adapting it to the QGIS 2 API. This feature is
> an ongoing work in progress since we are in the middle of API breakage
> period. So we do need your help to keeping adding new apicompat fixes.
> 
> Here some more details.
> http://www.opengis.ch/2016/09/19/qgis2-compatibility-plugin/
> here the code: https://github.com/opengisch/qgis2compat
> and here the plugin http://plugins.qgis.org/plugins/QGIS2compat/
> 
> For now I marked it as experimental, so please go test it out and let us
> know how it works.
> 
> Also, please contribute APIcompat stuff as explained in the docs.
> 
> ciao
> Marco
> 
> 
> 
> _______________________________________________
> 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
> 

-- 
Marco Bernasocchi
OPENGIS.ch - berna.io - 27summits.ch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160919/8d21fa39/attachment.sig>


More information about the Qgis-developer mailing list