From: Stefan Bund Date: Wed, 29 Dec 2010 22:31:11 +0000 (+0100) Subject: add custom qt plugin directory support X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=fd827408b6c7ea9d0cf9fd09f118037757988fc7;p=pykit.git add custom qt plugin directory support --- diff --git a/main.cc b/main.cc index bd65730..e6c4f27 100644 --- a/main.cc +++ b/main.cc @@ -51,6 +51,9 @@ int main(int argc, char *argv[]) app.setApplicationVersion(settings.value("version").toString()); app.setOrganizationDomain(settings.value("organization").toString()); app.setOrganizationName(settings.value("organization").toString()); + char * pluginsPath (getenv("PYKIT_PLUGIN_PATH")); + if (pluginsPath) + app.setLibraryPaths(QString(pluginsPath).split(":")); QString splashPath (settings.value("splash").toString()); boost::scoped_ptr splash;