r18425 by jghali - win32 specific change related to qt plugins handling in order to ease working with multiple Qt builds
scribus-commit
scribus-commit at lists.scribus.net
Tue Aug 20 09:33:33 UTC 2013
Author: jghali
Date: Tue Aug 20 09:33:33 2013
New Revision: 18425
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18425
Log:
win32 specific change related to qt plugins handling in order to ease working with multiple Qt builds
Modified:
trunk/Scribus/scribus/scpaths.cpp
Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18425&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp (original)
+++ trunk/Scribus/scribus/scpaths.cpp Tue Aug 20 09:33:33 2013
@@ -97,7 +97,10 @@
m_templateDir = QString("%1/share/templates/").arg(appPath);
m_libDir = QString("%1/libs/").arg(appPath);
m_pluginDir = QString("%1/plugins/").arg(appPath);
- QApplication::setLibraryPaths( QStringList(QString("%1/qtplugins/").arg(appPath)) );
+
+ QString qtpluginDir = QString("%1/qtplugins/").arg(appPath);
+ if (QDir(qtpluginDir).exists())
+ QApplication::setLibraryPaths( QStringList(qtpluginDir) );
#endif
// if(!m_shareDir.endsWith("/")) m_shareDir += "/";
More information about the scribus-commit
mailing list