Skip to content
Permalink
Browse files

Allow Qt to search for Qt plugins (e.g. sqldrivers) in our plugin dir…

…ectory

Without this it is necessary to explicitly provide QT_PLUGIN_PATH environment
variable for Qt plugins we build (e.g. Oracle DB sql driver)
  • Loading branch information
wonder-sk committed Jan 17, 2014
1 parent 119b7fd commit 5315cff1d1a1374267f9b261b3250a6fde0e7663
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsapplication.cpp
@@ -178,6 +178,8 @@ void QgsApplication::init( QString customConfigPath )
}
ABISYM( mSystemEnvVars ) = systemEnvVarMap;

// allow Qt to search for Qt plugins (e.g. sqldrivers) in our plugin directory
QCoreApplication::addLibraryPath( pluginPath() );
}

QgsApplication::~QgsApplication()

0 comments on commit 5315cff

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