Commit 23f6603b authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix compilation on older Qt (< 5.10) for distributions

parent 233721b1
......@@ -114,6 +114,12 @@ private:
};
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
QString qEnvironmentVariable(const char *varName) {
return qgetenv(varName);
}
#endif
struct EnvironmentSetter
{
EnvironmentSetter(const QLatin1String &env, const QString &value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment