|
|
|
@ -248,14 +248,15 @@ int main(int argv, char** argc) try { |
|
|
|
|
<<"Hostname"<<QNetworkProxy::applicationProxy().hostName() |
|
|
|
|
<<"Port"<<QNetworkProxy::applicationProxy().port(); |
|
|
|
|
//............................................................................
|
|
|
|
|
LOG<<"LIBRARY PATHES:\n"<<app.libraryPaths().join("\n").toStdString(); |
|
|
|
|
std::cout<<"LIBRARY PATHES:\n"<<app.libraryPaths().join("\n").toStdString()<<std::endl; |
|
|
|
|
if (env().contains("QT_PLUGIN_PATH")) { |
|
|
|
|
foreach (QString path, env()["QT_PLUGIN_PATH"].split(":")) { |
|
|
|
|
LOG<<"**** Setting: PLUGIN-PATH to "<<path.toStdString(); |
|
|
|
|
std::cout<<"**** Setting: PLUGIN-PATH to "<<path.toStdString()<<std::endl; |
|
|
|
|
app.addLibraryPath(path); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
LOG<<"**** PLUGIN-PATH is not defined"; |
|
|
|
|
std::cout<<"**** PLUGIN-PATH is not defined"<<std::endl; |
|
|
|
|
abort(); |
|
|
|
|
} |
|
|
|
|
if (env().contains("QTWEBKIT_PLUGIN_PATH")) |
|
|
|
|
qt_drt_overwritePluginDirectories(); |
|
|
|
|