|
|
@ -248,14 +248,15 @@ int main(int argv, char** argc) try { |
|
|
|
<<"Hostname"<<QNetworkProxy::applicationProxy().hostName() |
|
|
|
<<"Hostname"<<QNetworkProxy::applicationProxy().hostName() |
|
|
|
<<"Port"<<QNetworkProxy::applicationProxy().port(); |
|
|
|
<<"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")) { |
|
|
|
if (env().contains("QT_PLUGIN_PATH")) { |
|
|
|
foreach (QString path, env()["QT_PLUGIN_PATH"].split(":")) { |
|
|
|
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); |
|
|
|
app.addLibraryPath(path); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
LOG<<"**** PLUGIN-PATH is not defined"; |
|
|
|
std::cout<<"**** PLUGIN-PATH is not defined"<<std::endl; |
|
|
|
|
|
|
|
abort(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (env().contains("QTWEBKIT_PLUGIN_PATH")) |
|
|
|
if (env().contains("QTWEBKIT_PLUGIN_PATH")) |
|
|
|
qt_drt_overwritePluginDirectories(); |
|
|
|
qt_drt_overwritePluginDirectories(); |
|
|
|