Skip to content

Commit ead3530

Browse files
author
telwertowski
committed
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: http://svn.osgeo.org/qgis/trunk@6307 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0cadc32 commit ead3530

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/gui/main.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -370,14 +370,6 @@ int main(int argc, char *argv[])
370370
// If run at startup, the handler will set either or both of myProjectFileName and myFileList.
371371
AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments, openDocumentsAEHandler, 0, false);
372372

373-
// If the QtCore framework is bundled with the application, clear the library search path
374-
// and look for Qt plugins only within the application bundle.
375-
QString bundledQtCore(QCoreApplication::applicationDirPath().append("/lib/QtCore.framework"));
376-
if (QFile::exists(bundledQtCore))
377-
{
378-
QCoreApplication::setLibraryPaths(QStringList(QCoreApplication::applicationDirPath()));
379-
}
380-
381373
// If the GDAL plugins are bundled with the application and GDAL_DRIVER_PATH
382374
// is not already defined, use the GDAL plugins in the application bundle.
383375
QString gdalPlugins(QCoreApplication::applicationDirPath().append("/lib/gdalplugins"));

0 commit comments

Comments
 (0)