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:
parent
84723add8f
commit
fa42a27525
@ -80,6 +80,10 @@ MinecraftProcess::MinecraftProcess(InstancePtr inst) : m_instance(inst)
|
|||||||
QLOG_INFO() << "Env: " << key << value;
|
QLOG_INFO() << "Env: " << key << value;
|
||||||
env.insert(key, value);
|
env.insert(key, value);
|
||||||
}
|
}
|
||||||
|
#ifdef LINUX
|
||||||
|
// HACK: Workaround for QTBUG-42500
|
||||||
|
env.insert("LD_LIBRARY_PATH", "");
|
||||||
|
#endif
|
||||||
|
|
||||||
// export some infos
|
// export some infos
|
||||||
auto variables = getVariables();
|
auto variables = getVariables();
|
||||||
|
Loading…
Reference in New Issue
Block a user