From fa42a27525b0af912b67d70e6a76684806aee7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 9 Nov 2014 00:19:54 +0100 Subject: [PATCH] Workaround for QTBUG-42500 Process has to have LD_LIBRARY_PATH set to empty string to not inherit it by default --- logic/MinecraftProcess.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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();