Skip to content
Snippets Groups Projects
Commit f7214a21 authored by akiraohgaki's avatar akiraohgaki
Browse files

Debugging

parent 433f0147
No related branches found
No related tags found
No related merge requests found
......@@ -14,14 +14,14 @@
int main(int argc, char *argv[])
{
// Init
auto appDirPath = QGuiApplication::applicationDirPath();
QGuiApplication app(argc, argv); // This is backend program, but need GUI module
auto appDirPath = app.applicationDirPath();
auto envPath = appDirPath + ":" + appDirPath + "/usr/bin:" + QString::fromLocal8Bit(qgetenv("PATH").constData());
qputenv("PATH", envPath.toUtf8().constData());
qDebug() << QString::fromLocal8Bit(qgetenv("PATH").constData());
QGuiApplication app(argc, argv); // This is backend program, but need GUI module
auto *configHandler = new ConfigHandler(&app);
auto appConfigApplication = configHandler->getAppConfigApplication();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment