diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-11-09 00:19:54 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-11-09 00:19:54 +0100 |
commit | fa42a27525b0af912b67d70e6a76684806aee7ad (patch) | |
tree | 2e07cbd323141f61b13fefa079753d589cff7b28 /logic | |
parent | 84723add8f11d49a3420591fc6bf821eb24ba6f6 (diff) | |
download | MultiMC-fa42a27525b0af912b67d70e6a76684806aee7ad.tar MultiMC-fa42a27525b0af912b67d70e6a76684806aee7ad.tar.gz MultiMC-fa42a27525b0af912b67d70e6a76684806aee7ad.tar.lz MultiMC-fa42a27525b0af912b67d70e6a76684806aee7ad.tar.xz MultiMC-fa42a27525b0af912b67d70e6a76684806aee7ad.zip |
Workaround for QTBUG-42500
Process has to have LD_LIBRARY_PATH set to empty string to not inherit it by default
Diffstat (limited to 'logic')
-rw-r--r-- | logic/MinecraftProcess.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/MinecraftProcess.cpp b/logic/MinecraftProcess.cpp index 74d45414..5c74fefe 100644 --- a/logic/MinecraftProcess.cpp +++ b/logic/MinecraftProcess.cpp @@ -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(); |