From a188fb4c1df297c840abad1e63c4d47801786280 Mon Sep 17 00:00:00 2001 From: Akira Ohgaki <akiraohgaki@gmail.com> Date: Wed, 31 Jan 2018 03:09:30 +0900 Subject: [PATCH] Reorder $PATH value --- app/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main.cpp b/app/src/main.cpp index ea65f90..b8ff249 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); -- GitLab