Skip to content
Browse files

Remove hardcoded path to Mac bundled Qt plugin folder. A qt.conf file…

… can be added to the bundle to specify the location.

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Dec 22, 2006
1 parent a8b130e commit 46ff6e02ed70841aa06211aa67247c9e42b580f7
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/gui/main.cpp
@@ -370,14 +370,6 @@ int main(int argc, char *argv[])
// If run at startup, the handler will set either or both of myProjectFileName and myFileList.
AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments, openDocumentsAEHandler, 0, false);

// If the QtCore framework is bundled with the application, clear the library search path
// and look for Qt plugins only within the application bundle.
QString bundledQtCore(QCoreApplication::applicationDirPath().append("/lib/QtCore.framework"));
if (QFile::exists(bundledQtCore))

// If the GDAL plugins are bundled with the application and GDAL_DRIVER_PATH
// is not already defined, use the GDAL plugins in the application bundle.
QString gdalPlugins(QCoreApplication::applicationDirPath().append("/lib/gdalplugins"));

0 comments on commit 46ff6e0

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