[QGIS-Developer] Group stats plugin from 2to3

SIGéal sigeal at sigeal.com
Wed Feb 28 04:53:35 PST 2018


Hi,

A look at this might help :
https://gis.stackexchange.com/questions/260125/make-qgis-python-plugin-for-both-versions-2-x-and-3-x

-- 
Christophe

Le 28/02/2018 à 12:31, Sylvain POULAIN a écrit :
>
> Hi,
>
> I tried to migrate from plugins in Qgis 2 to Qgis 3.
> I took the usefull group stats plugin as my main example to make 
> transition.
>
> Unfortunatelly, /Plugin home page/ and /tracker/ links for this 
> plugins are dead ( http://plugins.qgis.org/plugins/GroupStats/ ), my 
> apologies if I'm not posting in right place.
>
> So I downloaded plugin and tried to converted it with changing Qt4 to 
> Qt5 in py script, using 2to3, rebuilding with pyuic5 and pyrcc5 under 
> linux. But now I'm stuck on a QMainWindow error. Where could I have 
> help to solve and understand how to solve it ?
>
> Sincerely,
>
> Sylvain
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180228/2420a73f/attachment-0001.html>


More information about the QGIS-Developer mailing list