<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    A look at this might help :<br>
<a class="moz-txt-link-freetext" href="https://gis.stackexchange.com/questions/260125/make-qgis-python-plugin-for-both-versions-2-x-and-3-x">https://gis.stackexchange.com/questions/260125/make-qgis-python-plugin-for-both-versions-2-x-and-3-x</a><br>
    <pre class="moz-signature" cols="72">-- 
Christophe
</pre>
    <div class="moz-cite-prefix">Le 28/02/2018 à 12:31, Sylvain POULAIN
      a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:4703e373000bc9772b1cea5eb0f3d96a@giscan.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class="wiki">
        <p>Hi,</p>
        <p>I tried to migrate from plugins in Qgis 2 to Qgis 3. <br>
          I took the usefull group stats plugin as my main example to
          make transition.</p>
        <p>Unfortunatelly, <em>Plugin home page</em> and <em>tracker</em>
          links for this plugins are dead ( <a class="external"
            href="http://plugins.qgis.org/plugins/GroupStats/"
            moz-do-not-send="true">http://plugins.qgis.org/plugins/GroupStats/</a>
          ), my apologies if I'm not posting in right place.</p>
        <p>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 ?</p>
        <p>Sincerely,</p>
        <p>Sylvain</p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>