r19674 by craig - Set better lib/plugin locations

scribus-commit scribus-commit at lists.scribus.net
Sat Dec 20 21:57:59 UTC 2014


Author: craig
Date: Sat Dec 20 21:57:59 2014
New Revision: 19674

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19674
Log:
Set better lib/plugin locations

Modified:
    trunk/Scribus/scribus/scpaths.cpp

Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19674&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp (original)
+++ trunk/Scribus/scribus/scpaths.cpp Sat Dec 20 21:57:59 2014
@@ -72,11 +72,11 @@
 	m_sampleScriptDir = QString("%1/Contents/share/scribus/samples/").arg(pathPtr);
 	m_scriptDir = QString("%1/Contents/share/scribus/scripts/").arg(pathPtr);
 	m_templateDir = QString("%1/Contents/share/scribus/templates/").arg(pathPtr);
-	m_libDir = QString("%1/Contents/Frameworks/").arg(pathPtr);
-	m_pluginDir = QString("%1/Contents/Frameworks/").arg(pathPtr);
+	m_libDir = QString("%1/Contents/lib/").arg(pathPtr);
+	m_pluginDir = QString("%1/Contents/lib/").arg(pathPtr);
 	m_qmlDir = QString("%1/Contents/share/scribus/qml/").arg(pathPtr);
 	//QApplication::setLibraryPaths(QStringList(QString("%1/Contents/lib/qtplugins/").arg(pathPtr)));
-	QApplication::addLibraryPath(QString("%1/Contents/lib/qtplugins/").arg(pathPtr));
+	QApplication::addLibraryPath(QString("%1/Contents/PlugIns/").arg(pathPtr));
 	// on OSX this goes to the sys console, so user only sees it when they care -- AV
 	qDebug() << QString("scpaths: doc dir=%1").arg(m_docDir);
 	qDebug() << QString("scpaths: icon dir=%1").arg(m_iconDir);




More information about the scribus-commit mailing list