SegFault on create an EmptyDataSource From a typedef

المشرف العام

Administrator
طاقم الإدارة
I had to create a specific type of point, in order to do that I create a function that create a layer from shp file and dataextract of the Code : typedef bool ( *createEmptyDataSourceProc ) ( const QString&, const QString&, const QString&, QGis::WkbType, const std::list >&, const QgsCoordinateReferenceSystem * );

createEmptyDataSourceProc createEmptyDataSource = ( createEmptyDataSourceProc ) myLib->resolve( "createEmptyDataSource" ); if( createEmptyDataSource ){ if( geometrytype != QGis::WKBUnknown ) { QgsCoordinateReferenceSystem srs( 3395, QgsCoordinateReferenceSystem::EpsgCrsId ); qDebug()
 
أعلى