|
|
@ -437,8 +437,10 @@ int main(int argv, char** argc) try { |
|
|
|
//............................................................................
|
|
|
|
//............................................................................
|
|
|
|
std::cerr<<"LIBRARY PATHES:\n"<<app.libraryPaths().join("\n").toStdString()<<std::endl; |
|
|
|
std::cerr<<"LIBRARY PATHES:\n"<<app.libraryPaths().join("\n").toStdString()<<std::endl; |
|
|
|
if (env.contains("QT_PLUGIN_PATH")) { |
|
|
|
if (env.contains("QT_PLUGIN_PATH")) { |
|
|
|
std::cerr<<"**** Setting: PLUGIN-PATH to "<<env["QT_PLUGIN_PATH"].toStdString()<<std::endl; |
|
|
|
foreach (QString path, env["QT_PLUGIN_PATH"].split(":")) { |
|
|
|
app.addLibraryPath(env["QT_PLUGIN_PATH"]); |
|
|
|
std::cerr<<"**** Setting: PLUGIN-PATH to "<<path.toStdString()<<std::endl; |
|
|
|
|
|
|
|
app.addLibraryPath(path); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
std::cerr<<"**** Error: PLUGIN-PATH is not defined"<<std::endl; |
|
|
|
std::cerr<<"**** Error: PLUGIN-PATH is not defined"<<std::endl; |
|
|
|
app.addLibraryPath("lib"); |
|
|
|
app.addLibraryPath("lib"); |
|
|
|