Hi List,<br><br>I'm developing an application using the QGIS API. <br><br>At this point, I need to replicate the QGIS functionality for merging features in a given layer. I copied some parts of the code from qgisapp.cpp, but I have some problems.<br>
<br>In short, I receive an abort from the compiler when the method exits at the point that the QList destructor is called.<br><br>Do I have to take special considerations calling this method?<br><br><br>The relevant code is:<br>
<br> QgsFeatureList featureList = this->currentLayer->selectedFeatures(); //get QList<QgsFeature><br><br>Where this->currentLayer is a QgsVectorLayer.<br><br>Thanks.<br><br>--<br>federico<br>