Skip to content
Permalink
Browse files

Dont use gdal c++ api. Also gdal drivers now unloaded without restart

  • Loading branch information
timlinux committed Oct 4, 2011
1 parent 3f70d32 commit 9ec80235045ad3af2f64eab1226c408326bdd991
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsapplication.cpp
@@ -33,8 +33,8 @@

#include "qgsconfig.h"

#include <gdal.h>
#include <ogr_api.h>
#include <gdal_priv.h>
#include <cpl_conv.h> // for setting gdal options

QObject * QgsApplication::mFileOpenEventReceiver;
@@ -745,5 +745,5 @@ void QgsApplication::applyGdalSkippedDrivers()
QgsDebugMsg( "Gdal Skipped driver list set to:" );
QgsDebugMsg( myDriverList );
CPLSetConfigOption( "GDAL_SKIP", myDriverList.toUtf8() );
GetGDALDriverManager()->AutoSkipDrivers();
GDALAllRegister(); //to update driver list and skip missing ones
}

0 comments on commit 9ec8023

Please sign in to comment.
You can’t perform that action at this time.