[Qgis-developer] Do Python plugins already work with QGIS 3?

Marco Bernasocchi marco at opengis.ch
Tue Dec 13 07:12:22 PST 2016


well, for once most plugins will fail at from PyQt4 import *, then they
could fail at any API break.

the core plugins go trough 2to3
(https://github.com/qgis/QGIS/blob/master/scripts/2to3) that should
fixup most of the problems.

on ubuntu 16.10 DBman and processing work.

If you are porting a plugin to QGIS3 I suggest you to have a look at the
qgis2compat plugin which will make your life much easier in keeping a
plugin working wut the QGIS 2 and 3 API.

www.opengis.ch/qgis2compat

ciao
Marco

On 13.12.2016 15:55, Tom Chadwin wrote:
> Define "fail", I guess. Most plugins won't work without modification
> [citation needed], but it would be good to know *how* it fails, as you are
> right that there could be a more general issue.
> 
> 
> 
> -----
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Do-Python-plugins-already-work-with-QGIS-3-tp5299693p5299694.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> 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: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161213/54827731/attachment.sig>


More information about the Qgis-developer mailing list