Hallo Jürgen, I think not I use it directly, because I'm only including h-files from qgis and qt:
#include "QGISFunc.h" #include <QtDebug> #include <QtCore> #include <QMessageBox> #include <QFile> #include <QFileInfo> #include <QDomDocument> #include <QDomElement> #include <QDateTime> #include <QXmlStreamAttributes> #include <QToolBar> #include <QAction> #include <QHostInfo> #include <qgsrasterlayer.h> #include <qgsmapcanvas.h> #include <qgsmaplayerregistry.h> #include <qgslegendinterface.h> #include <qgsrasterrenderer.h> #include <qgsrendererv2.h> #include "qgsdatasourceuri.h" #include <qgsvectorlayer.h> #include <qgscategorizedsymbolrendererv2.h> #include <qgsgraduatedsymbolrendererv2.h> #include <qgssinglesymbolrendererv2.h> #include <qgsrulebasedrendererv2.h> #include <qgscategorizedsymbolrendererv2.h> #include "qgssymbollayerv2.h" #include <qgsmarkersymbollayerv2.h> #include <qgslinesymbollayerv2.h> #include <qgsfillsymbollayerv2.h> #include <qgsvectorcolorrampv2.h> #include <qgsvectordataprovider.h> #include <qgsattributeaction.h> #include <qgsapplication.h> #include <qgsfield.h> #include <qgslabel.h> #include <qgspallabeling.h> #include <qgsrulebasedlabeling.h> #include <QgsMapLayerActionRegistry.h> #include <qgsproject.h> #include <qgslayertreeview.h> #include <qgslayertreegroup.h> #include <qgslayertreelayer.h> #include <qgslayertreenode.h> #include <qgspainteffect.h> #include <qgsgloweffect.h> #include <qgseffectstack.h> #include <qgsrastershader.h> #include <qgscolorrampshader.h> #include <qgssinglebandpseudocolorrenderer.h> #include <qgspalettedrasterrenderer.h> #include <qgsrastertransparency.h> #include <windows.h> #include <stdio.h> #include <lmcons.h> Susann Von: Jürgen E. Fischer <[email protected]> An: [email protected] Datum: 01.09.2017 11:58 Betreff: Re: [QGIS-Developer] crash qgis 2.18.11 in vs2010 - HEAP CORRUPTION DETECTED Gesendet von: "QGIS-Developer" <[email protected]> Hi Susann, On Fri, 01. Sep 2017 at 11:23:35 +0200, [email protected] wrote: > since compiling my plugin for qgis 2.18.11 in vs2010 on win7 the plugin > and qgis crashes in seemly any action because of memory leaks :-o > > "sometimes" while loading a postgis layer i'll get a message from > geos::util::IllegalArgumentException at memory... Are you using the GEOS C++ API directly or is this from calling QGIS methods? Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on FreeNode [Anhang "signature.asc" gelöscht von Susann Schmidt/gfimbh] _______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
