Workaround for QTBUG-42500

Process has to have LD_LIBRARY_PATH set to empty string to not inherit it by default
This commit is contained in:
Petr Mrázek 2014-11-09 00:19:54 +01:00
parent 84723add8f
commit fa42a27525

View File

@ -80,6 +80,10 @@ MinecraftProcess::MinecraftProcess(InstancePtr inst) : m_instance(inst)
QLOG_INFO() << "Env: " << key << value;
env.insert(key, value);
}
#ifdef LINUX
// HACK: Workaround for QTBUG-42500
env.insert("LD_LIBRARY_PATH", "");
#endif
// export some infos
auto variables = getVariables();