<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Matthias</p>
    <p>Ah, forgot to specify: this is with the latest qgis master:</p>
    <p>c.composition().getComposerItemById("Text")<br>
      <qgis._core.QgsComposerItem object at 0x7f83eb945808></p>
    Best<br>
    Sandro<br>
    <br>
    <div class="moz-cite-prefix">On 11.05.2016 15:53, Matthias Kuhn
      wrote:<br>
    </div>
    <blockquote cite="mid:57333946.10602@opengis.ch" type="cite">
      <pre wrap="">Hi Sandro,

Just to be sure, did you also try with the non-closed upstream QGIS code?

Matthias

On 05/11/2016 03:33 PM, Sandro Mani wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi

Fedora has updated to SIP 4.18, and I'm now seeing some issues with
subclass conversions, in particular

composerView.composition().getComposerItemById("aQgsComposerLabel")

does not anymore return a QgsComposerLabel instance, but rather a
QgsComposerItem instance.

Does anyone familiar with SIP know how to debug this? I've tried
playing around with the ConvertToSubClassCode code in
qgscomposeritem.sip, in particular changing sipClass with sipType
(having read that the former is deprecated [1]), but no improvements.
I actually don't even see that code executing by setting a breakpoint
in sip_corepart0.cpp.

So, any ideas?

Thanks

Sandro



[1] <a class="moz-txt-link-freetext" href="https://riverbankcomputing.com/pipermail/pyqt/2010-June/026759.html">https://riverbankcomputing.com/pipermail/pyqt/2010-June/026759.html</a>

_______________________________________________
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="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <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="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>