Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dont use gdal c++ api. Also gdal drivers now unloaded without restart
  • Loading branch information
timlinux committed Oct 4, 2011
1 parent 3f70d32 commit 9ec8023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsapplication.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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.