TEST - set plugin path, abort if env variable is not set; refs #130
This commit is contained in:
@@ -436,7 +436,7 @@ int main(int argv, char** argc) try {
|
|||||||
QSslConfiguration::setDefaultConfiguration(sslConfig);
|
QSslConfiguration::setDefaultConfiguration(sslConfig);
|
||||||
//............................................................................
|
//............................................................................
|
||||||
if (env.contains("QT_PLUGIN_PATH")) {
|
if (env.contains("QT_PLUGIN_PATH")) {
|
||||||
std::cerr<<"**** Setting: PLUGIN-PATH to "<<env["QT_PLUGIN_PATH"]<<std::endl;
|
std::cerr<<"**** Setting: PLUGIN-PATH to "<<env["QT_PLUGIN_PATH"].toStdString()<<std::endl;
|
||||||
app.addLibraryPath(env["QT_PLUGIN_PATH"]);
|
app.addLibraryPath(env["QT_PLUGIN_PATH"]);
|
||||||
} else {
|
} else {
|
||||||
std::cerr<<"**** Error: PLUGIN-PATH is not defined"<<std::endl;
|
std::cerr<<"**** Error: PLUGIN-PATH is not defined"<<std::endl;
|
||||||
|
Reference in New Issue
Block a user