diff --git a/app/src/main.cpp b/app/src/main.cpp index ea65f907037e3ae8aeb5ff170f8b4f4bbc6b6323..b8ff249e8fc33c35c2ca2199560252ae00b31d75 100644 --- a/app/src/main.cpp +++ b/app/src/main.cpp @@ -16,7 +16,7 @@ int main(int argc, char *argv[]) // Init QGuiApplication app(argc, argv); // This is backend program, but need GUI module - auto envPath = app.applicationDirPath() + ":" + QString::fromLocal8Bit(qgetenv("PATH").constData()); + auto envPath = QString::fromLocal8Bit(qgetenv("PATH").constData()) + ":" + app.applicationDirPath(); qputenv("PATH", envPath.toUtf8().constData()); auto *configHandler = new ConfigHandler(&app);