Skip to content

Commit

Permalink
Part fix for bug #530 - add plugins/ dir to qt plugin search path
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6683 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 23, 2007
1 parent 075d4e3 commit 6f14df8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/main.cpp
Expand Up @@ -362,6 +362,12 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationName("QuantumGIS");
QCoreApplication::setOrganizationDomain("qgis.org");
QCoreApplication::setApplicationName("qgis");

//
// ensure that the plugins dir (qt plugins) is in qt search path
//
QApplication::addLibraryPath(QApplication::applicationDirPath()+QDir::separator()+"plugins");

#ifdef Q_OS_MACX
// Install OpenDocuments AppleEvent handler after application object is initialized
// but before any other event handling (including dialogs or splash screens) occurs.
Expand Down

0 comments on commit 6f14df8

Please sign in to comment.