[Qgis-developer] QgsPluginLayer.writeStyle() must be overridden?
Nathan Woodrow
madmanwoo at gmail.com
Wed Jul 6 22:03:09 PDT 2016
Hi,
What is the version you are running. I think that was patched by Martin at
one stage.
On Thu, Jul 7, 2016 at 3:01 PM, Minoru Akagi <akaginch at gmail.com> wrote:
> Hi devs,
>
> I'm looking forward to the next wonderful release, and now testing
> TileLayerPlugin with qgis-dev (OSGeo4W64), I sometimes encounter the
> following error message while loading a project with a plugin layer.
>
> NotImplementedError: QgsPluginLayer.writeStyle() is abstract and must
> be overridden
>
> According to the API doc [1], QgsMapLayer.writeStyle() has been added
> in 2.16 and is reimplemented in QgsVectorLayer and QgsRasterLayer, but
> does not seem to be reimplemented in QgsPluginLayer.
>
> Can QGIS core avoid raising this error? Or should all the subclasses
> of QgsPluginLayer override writeStyle()?
>
> [1] https://qgis.org/api/classQgsMapLayer.html
>
> Regards,
> Minoru
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160707/cba96fb0/attachment-0001.html>
More information about the Qgis-developer
mailing list