[Qgis-developer] SIP 4.18 and ConvertToSubClassCode

Matthias Kuhn matthias at opengis.ch
Wed May 11 06:53:10 PDT 2016


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:
> 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] https://riverbankcomputing.com/pipermail/pyqt/2010-June/026759.html
>
> _______________________________________________
> 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

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source


-------------- 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/20160511/4ef53cc7/attachment.sig>


More information about the Qgis-developer mailing list