r18968 by craig - Fix qt plugin lib location for 1.4 as well

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 31 20:28:50 UTC 2014


Author: craig
Date: Mon Mar 31 20:28:50 2014
New Revision: 18968

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18968
Log:
Fix qt plugin lib location for 1.4 as well

Modified:
    branches/Version14x/Scribus/scribus/scpaths.cpp

Modified: branches/Version14x/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18968&path=/branches/Version14x/Scribus/scribus/scpaths.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scpaths.cpp (original)
+++ branches/Version14x/Scribus/scribus/scpaths.cpp Mon Mar 31 20:28:50 2014
@@ -101,7 +101,8 @@
 	m_templateDir = QString("%1/Contents/share/scribus/templates/").arg(pathPtr);
 	m_libDir = QString("%1/Contents/lib/scribus/").arg(pathPtr);
 	m_pluginDir = QString("%1/Contents/lib/scribus/plugins/").arg(pathPtr);
-	QApplication::setLibraryPaths(QStringList(QString("%1/Contents/lib/qtplugins/").arg(pathPtr)));
+//	QApplication::setLibraryPaths(QStringList(QString("%1/Contents/lib/qtplugins/").arg(pathPtr)));
+	QApplication::addLibraryPath(QString("%1/Contents/lib/qtplugins/").arg(pathPtr));
 //	CFRelease(pluginRef);
 //	CFRelease(macPath);
 




More information about the scribus-commit mailing list